Don't print warnings about not finding glibtool
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 22 Jun 2003 22:50:40 +0000 (22:50 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 22 Jun 2003 22:50:40 +0000 (22:50 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7914 f5534014-38df-0310-8fa8-9805f1628bb7

autogen.sh

index 9de86fa20a283d485f4363fc329203c945948cca..6ada74cd083f50097d6e3bf32dd4945205989a75 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # Run this to generate all the initial makefiles.
 #
-# $Id: autogen.sh,v 1.25 2003/06/22 22:23:33 jmayer Exp $
+# $Id: autogen.sh,v 1.26 2003/06/22 22:50:40 jmayer Exp $
 
 DIE=true
 PROJECT="Ethereal"
@@ -58,8 +58,8 @@ esac
 #
 # Check for "glibtool" first.
 #
-LTVER=`glibtool --version | grep ' libtool)' | \
-    sed 's/.*) \([0-9][0-9.]*\) .*/\1/' `
+LTVER=`glibtool --version 2>/dev/null | grep ' libtool)' | \
+    sed 's/.*) \([0-9][0-9.]*\) .*/\1/'`
 if test -z "$LTVER"
 then
        LTVER=`libtool --version | grep ' libtool)' | \