changeset 351:aaf43fb91f39

[project @ 1994-02-10 08:55:38 by jwe]
author jwe
date Thu, 10 Feb 1994 08:55:38 +0000
parents 52f8902e06f9
children ff237c5f5002
files configure.in
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu Feb 10 08:08:57 1994 +0000
+++ b/configure.in	Thu Feb 10 08:55:38 1994 +0000
@@ -346,12 +346,18 @@
 
 # Check to see if we have IEEE math functions, and if so, which ones.
 #
+# For Linux: add -mieee-fp flag to CFLAGS when checking for IEEE FP
+# functions, otherwise we may not find them.
+#
 # Also check for some additional trig functions that aren't ANSI but
 # are often available.  If they are missing, we try to replace them
 # with functions from the BSD/NET2 math library.
 
 AC_HAVE_LIBRARY(-lm)dnl
+XCFLAGS=$CFLAGS
+CFLAGS="$CFLAGS $GCC_IEEE_FP_FLAG"
 AC_HAVE_FUNCS(finite isnan isinf)dnl
+CFLAGS=$XCFLAGS
 AC_REPLACE_FUNCS(acosh asinh atanh)dnl
 
 if test -n "$LIBOBJS"; then