Commit 707691d8 by Michael Koch Committed by Michael Koch

acconfig.h (__NO_MATH_INLINES): Removed.

2003-09-10  Michael Koch  <konqueror@gmx.de>

	* acconfig.h (__NO_MATH_INLINES): Removed.
	* configure.in: Removed check for g++ math inlining bug from 2000.
	* configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
	libgcj_cxxflags.
	* configure: Regenerated.

From-SVN: r71276
parent 9c9d2cce
2003-09-10 Michael Koch <konqueror@gmx.de>
* acconfig.h (__NO_MATH_INLINES): Removed.
* configure.in: Removed check for g++ math inlining bug from 2000.
* configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
libgcj_cxxflags.
* configure: Regenerated.
2003-09-10 David Daney <ddaney@avtrex.com>
* java/util/Arrays.java (equals(all variants)): Quit using
......
......@@ -152,9 +152,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
/* Define if you have working iconv() function. */
#undef HAVE_ICONV
......
......@@ -89,8 +89,8 @@ case "${host}" in
sysdeps_dir=i386
libgcj_flags="${libgcj_flags} -ffloat-store"
libgcj_interpreter=yes
libgcj_cxxflags="-D__NO_MATH_INLINES"
libgcj_cflags="-D__NO_MATH_INLINES"
libgcj_cxxflags=
libgcj_cflags=
DIVIDESPEC=-fno-use-divide-subroutine
enable_hash_synchronization_default=yes
slow_pthread_self=yes
......@@ -99,8 +99,8 @@ case "${host}" in
CHECKREFSPEC="%{m32:-fcheck-references}"
sysdeps_dir=x86-64
libgcj_flags="${libgcj_flags} -ffloat-store -fno-omit-frame-pointer"
libgcj_cxxflags="-D__NO_MATH_INLINES"
libgcj_cflags="-D__NO_MATH_INLINES"
libgcj_cxxflags=
libgcj_cflags=
enable_hash_synchronization_default=yes
slow_pthread_self=yes
libgcj_interpreter=yes
......
......@@ -955,16 +955,6 @@ GCJVERSION=$gcjversion
AC_SUBST(GCJVERSION)
AC_DEFINE_UNQUOTED(GCJVERSION, "$GCJVERSION", [Short GCJ version ID])
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.
......
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