Commit 086920c3 by Tom Tromey Committed by Tom Tromey

configure: Rebuilt.

	* configure: Rebuilt.
	* configure.in: Set DIVIDESPEC to empty string if compiler does
	not support -fuse-divide-subroutine.

From-SVN: r28727
parent ecdea017
1999-08-16 Tom Tromey <tromey@cygnus.com>
* configure: Rebuilt.
* configure.in: Set DIVIDESPEC to empty string if compiler does
not support -fuse-divide-subroutine.
1999-08-14 Per Bothner <per@bothner.com>
* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
......
......@@ -524,6 +524,18 @@ gcjvers="`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`"
changequote([,])
AC_DEFINE_UNQUOTED(GCJVERSION, "$gcjvers")
# See if gcj supports -fuse-divide-subroutine. gcc 2.95 does not, and
# we want to continue to support that version.
cat > conftest.java << 'END'
public class conftest { }
END
use_fuse=yes
$GCJ -fuse-divide-subroutine -fsyntax-only conftest.java || use_fuse=no
rm -f conftest.java
if test "$use_fuse" = no; then
DIVIDESPEC=
fi
AC_SUBST(AM_RUNTESTFLAGS)
dnl We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
......
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