author | Norm Jacobs <Norm.Jacobs@Sun.COM> |
Mon, 09 Mar 2015 15:38:36 -0500 | |
changeset 3926 | 11b6c9d02e9e |
permissions | -rw-r--r-- |
3926
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
1 |
# |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
2 |
# Studio gets confused by -pedantic. This won't go upstream as newer versions |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
3 |
# change the compiler flag test and this will no longer be needed . |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
4 |
# |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
5 |
|
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
6 |
--- stunnel-4.56/configure.ac.orig Mon Mar 9 12:33:03 2015 |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
7 |
+++ stunnel-4.56/configure.ac Mon Mar 9 12:33:20 2015 |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
8 |
@@ -88,12 +88,6 @@ |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
9 |
[AC_MSG_RESULT([yes])], |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
10 |
[AC_MSG_RESULT([no]); CFLAGS="$valid_CFLAGS"]) |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
11 |
|
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
12 |
-AC_MSG_CHECKING([whether $CC accepts -pedantic]) |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
13 |
-valid_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS -pedantic" |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
14 |
-AC_LINK_IFELSE([int main() {return 0;}], |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
15 |
- [AC_MSG_RESULT([yes])], |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
16 |
- [AC_MSG_RESULT([no]); CFLAGS="$valid_CFLAGS"]) |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
17 |
- |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
18 |
AC_MSG_NOTICE([**************************************** libtool]) |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
19 |
LT_INIT([disable-static]) |
11b6c9d02e9e
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
20 |
AC_SUBST([LIBTOOL_DEPS]) |