[Expat-checkins] expat configure.in,1.44,1.45

Karl Waclawek kwaclaw at users.sourceforge.net
Wed May 9 15:27:05 CEST 2007


Update of /cvsroot/expat/expat
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv3852

Modified Files:
	configure.in 
Log Message:
Fix for issue #1647805 (detecting -fexceptions support doesn't work
with Intel compiler). Thanks to Hazael (hmaldonado) for the fix.

Index: configure.in
===================================================================
RCS file: /cvsroot/expat/expat/configure.in,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- configure.in	5 May 2007 14:13:59 -0000	1.44
+++ configure.in	9 May 2007 13:26:48 -0000	1.45
@@ -72,8 +72,8 @@
     dnl
     OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
     CFLAGS="$OLDCFLAGS -fexceptions"
-    AC_MSG_CHECKING(whether gcc accepts -fexceptions)
-    AC_TRY_COMPILE(,(void)1,
+    AC_MSG_CHECKING(whether $CC accepts -fexceptions)
+    AC_TRY_LINK( , ,
                    AC_MSG_RESULT(yes),
                    AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS")
     CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`



More information about the Expat-checkins mailing list