This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: ignore stderr


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=

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]