Commit 7bee4c4c by Anthony Green

config.h.in: Rebuilt.

	* include/config.h.in: Rebuilt.
	* acconfig.h: Add undef for __NO_MATH_INLINES.
	* configure: Rebuilt.
	* configure.in: Add test for `g++ -O2 -ffloat-store' bug.

From-SVN: r31566
parent 7bea4e7a
......@@ -131,3 +131,6 @@
/* Define if libltdl is in use. */
#undef USE_LTDL
/* Define if g++ has a bug preventing us from inlining math routines. */
#undef __NO_MATH_INLINES
......@@ -624,6 +624,16 @@ AC_MSG_RESULT($use_fuse)
AC_SUBST(AM_RUNTESTFLAGS)
dnl Work around a g++ bug. Reported to gcc-bugs@gcc.gnu.org on Jan 22, 2000.
AC_MSG_CHECKING([for g++ -ffloat-store bug])
save_CFLAGS="$CFLAGS"
CFLAGS="-x c++ -O2 -ffloat-store"
AC_TRY_COMPILE([#include <math.h>], ,
[AC_MSG_RESULT(no)],
[AC_DEFINE(__NO_MATH_INLINES)
AC_MSG_RESULT(yes)])
CFLAGS="$save_CFLAGS"
dnl We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
dnl On that system, sys/ioctl.h will not include sys/filio.h unless
dnl BSD_COMP is defined; just including sys/filio.h is simpler.
......
......@@ -149,6 +149,9 @@
/* Define if libltdl is in use. */
#undef USE_LTDL
/* Define if g++ has a bug preventing us from inlining math routines. */
#undef __NO_MATH_INLINES
/* Define if you have the access function. */
#undef HAVE_ACCESS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment