diff options
author | kwaclaw <kwaclaw> | 2007-05-09 13:26:48 +0000 |
---|---|---|
committer | kwaclaw <kwaclaw> | 2007-05-09 13:26:48 +0000 |
commit | 7d391a946ce6c7c3a45d8bd204836ed4eb9a4731 (patch) | |
tree | cee05fa12198a6cb8bfaa52610abe446bf0173fc | |
parent | c3dc32ea4f386c0c51c35edf8b4eff5969561279 (diff) | |
download | libexpat-7d391a946ce6c7c3a45d8bd204836ed4eb9a4731.tar.gz |
Fix for issue #1647805 (detecting -fexceptions support doesn't work
with Intel compiler). Thanks to Hazael (hmaldonado) for the fix.
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 220fe66..24bcb40 100644 --- a/configure.in +++ b/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//'` |