This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
PATCH: configure: Remove -fuse-divide-subroutine check
- To: java-patches at sources dot redhat dot com
- Subject: PATCH: configure: Remove -fuse-divide-subroutine check
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Mon, 11 Dec 2000 17:41:38 +1300
As discussed a few days ago, this patch removes the check to see if
the compiler supports -fuse-divide-subroutine. The check is failing
and it isn't required now that we won't possibly work with a gcj that
doesn't support this flag.
regards
[ bryce ]
2000-12-11 Bryce McKinlay <bryce@albatross.co.nz>
* configure.in: Remove check for -fuse-divide-subroutine.
* configure: Rebuilt.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/libjava/configure.in,v
retrieving revision 1.70
diff -u -r1.70 configure.in
--- configure.in 2000/12/08 22:27:09 1.70
+++ configure.in 2000/12/11 04:26:39
@@ -645,22 +645,6 @@
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.
-AC_MSG_CHECKING([whether gcj supports -fuse-divide-subroutine])
-cat > conftest.java << 'END'
-public class conftest { }
-END
-use_fuse=yes
-$GCJ -classpath $srcdir -fuse-divide-subroutine -fsyntax-only \
- conftest.java > /dev/null 2>&1 \
- || use_fuse=no
-rm -f conftest.java
-if test "$use_fuse" = no; then
- DIVIDESPEC=
-fi
-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.