From 9f2d9f234ba9c03120be2f1b72758edbf6e88259 Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Wed, 9 May 2007 13:26:48 +0000 Subject: [PATCH] Fix for issue #1647805 (detecting -fexceptions support doesn't work with Intel compiler). Thanks to Hazael (hmaldonado) for the fix. --- expat/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expat/configure.in b/expat/configure.in index 220fe665..24bcb407 100644 --- a/expat/configure.in +++ b/expat/configure.in @@ -72,8 +72,8 @@ if test "$GCC" = yes ; then 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//'`