components/stunnel/patches/stunnel-4.56-studio.patch
author Norm Jacobs <Norm.Jacobs@Sun.COM>
Mon, 09 Mar 2015 15:38:36 -0500
changeset 3926 11b6c9d02e9e
permissions -rw-r--r--
17063235 Pythia build42 breaks S12-UL/b25 stunnel-4.56 build

#
# Studio gets confused by -pedantic.  This won't go upstream as newer versions
# change the compiler flag test and this will no longer be needed .
#

--- stunnel-4.56/configure.ac.orig	Mon Mar  9 12:33:03 2015
+++ stunnel-4.56/configure.ac	Mon Mar  9 12:33:20 2015
@@ -88,12 +88,6 @@
     [AC_MSG_RESULT([yes])],
     [AC_MSG_RESULT([no]); CFLAGS="$valid_CFLAGS"])
 
-AC_MSG_CHECKING([whether $CC accepts -pedantic])
-valid_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS -pedantic"
-AC_LINK_IFELSE([int main() {return 0;}],
-    [AC_MSG_RESULT([yes])],
-    [AC_MSG_RESULT([no]); CFLAGS="$valid_CFLAGS"])
-
 AC_MSG_NOTICE([**************************************** libtool])
 LT_INIT([disable-static])
 AC_SUBST([LIBTOOL_DEPS])