Here's a patch for configure.in that prevents stderr from the test in
configure that checks to see if Sun or GNU as is installed on a Solaris
system.

GNU as outputs it's help to stdout, and Sun as does it via stderr. This
patch prevents any annoying stderr from leaking through to the screen.

/dale
--- configure.in-orig   Thu Feb 21 11:53:49 2002
+++ configure.in        Thu Feb 21 12:07:13 2002
@@ -329,7 +329,7 @@
         *sparc*)
             OSDIR="solaris_sparc"
             eolstr="\\n"
-            is_gnu_as=`${AS} --help | grep gnu.org`
+            is_gnu_as=`${AS} --help 2>/dev/null | grep gnu.org`
             if [ -z "$is_gnu_as" ]
             then
                 ASFLAGS="-xarch=v8plus -KPIC -q"

Reply via email to