This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: ignore stderr
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: ignore stderr
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 20 Sep 1999 14:12:26 -0600
- Reply-To: tromey at cygnus dot com
I'm committing the appended patch. It changes configure so that the
-fuse-divide-subroutine test doesn't print any messages to stderr.
1999-09-20 Tom Tromey <tromey@cygnus.com>
* configure: Rebuilt.
* configure.in: Send output of `-fuse-divide-subroutine' test
compilation to /dev/null.
Tom
Index: configure.in
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure.in,v
retrieving revision 1.30
diff -u -r1.30 configure.in
--- configure.in 1999/09/10 22:03:05 1.30
+++ configure.in 1999/09/20 20:05:35
@@ -534,7 +534,8 @@
public class conftest { }
END
use_fuse=yes
-$GCJ -fuse-divide-subroutine -fsyntax-only conftest.java || use_fuse=no
+$GCJ -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=