comparison configure.in @ 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 273f0b941c51
comparison
equal deleted inserted replaced
350:52f8902e06f9 351:aaf43fb91f39
344 ;; 344 ;;
345 esac 345 esac
346 346
347 # Check to see if we have IEEE math functions, and if so, which ones. 347 # Check to see if we have IEEE math functions, and if so, which ones.
348 # 348 #
349 # For Linux: add -mieee-fp flag to CFLAGS when checking for IEEE FP
350 # functions, otherwise we may not find them.
351 #
349 # Also check for some additional trig functions that aren't ANSI but 352 # Also check for some additional trig functions that aren't ANSI but
350 # are often available. If they are missing, we try to replace them 353 # are often available. If they are missing, we try to replace them
351 # with functions from the BSD/NET2 math library. 354 # with functions from the BSD/NET2 math library.
352 355
353 AC_HAVE_LIBRARY(-lm)dnl 356 AC_HAVE_LIBRARY(-lm)dnl
357 XCFLAGS=$CFLAGS
358 CFLAGS="$CFLAGS $GCC_IEEE_FP_FLAG"
354 AC_HAVE_FUNCS(finite isnan isinf)dnl 359 AC_HAVE_FUNCS(finite isnan isinf)dnl
360 CFLAGS=$XCFLAGS
355 AC_REPLACE_FUNCS(acosh asinh atanh)dnl 361 AC_REPLACE_FUNCS(acosh asinh atanh)dnl
356 362
357 if test -n "$LIBOBJS"; then 363 if test -n "$LIBOBJS"; then
358 for func in $LIBOBJS 364 for func in $LIBOBJS
359 do 365 do