# HG changeset patch # User jwe # Date 760870538 0 # Node ID aaf43fb91f39635099927fa10ef040cc365f72b4 # Parent 52f8902e06f92b8155d8ab21fe879c897a9a88ef [project @ 1994-02-10 08:55:38 by jwe] diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -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