As per Guys idea: Delete files in aclocal-missing if test succeeds.
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 28 Aug 2002 12:25:54 +0000 (12:25 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 28 Aug 2002 12:25:54 +0000 (12:25 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6113 f5534014-38df-0310-8fa8-9805f1628bb7

autogen.sh

index 5a672184c9932ff07ef51f2afee678e884d80bef..634a1ec4e4e0ed882c113989d175c4f8f650d845 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # Run this to generate all the initial makefiles.
 #
-# $Id: autogen.sh,v 1.18 2002/08/27 23:00:02 jmayer Exp $
+# $Id: autogen.sh,v 1.19 2002/08/28 12:25:54 jmayer Exp $
 
 DIE=true
 PROJECT="Ethereal"
@@ -90,22 +90,22 @@ fi
 aclocal_flags="`./aclocal-flags`"
 
 if glib-config --version >/dev/null 2>&1 ; then
-       echo glib OK
+       rm -f aclocal-missing/glib.m4
 else
        cp aclocal-fallback/glib.m4 aclocal-missing/
 fi
 if gtk-config --version >/dev/null 2>&1 ; then
-       echo gtk OK
+       rm -f aclocal-missing/gtk.m4
 else
        cp aclocal-fallback/gtk.m4 aclocal-missing/
 fi
 if pkg-config glib-2.0 >/dev/null 2>&1 ; then
-       echo glib-2.0 OK
+       rm -f aclocal-missing/glib-2.0.m4
 else
        cp aclocal-fallback/glib-2.0.m4 aclocal-missing/
 fi
 if pkg-config gtk+-2.0 >/dev/null 2>&1 ; then
-       echo gtk-2.0 OK
+       rm -f aclocal-missing/gtk-2.0.m4
 else
        cp aclocal-fallback/gtk-2.0.m4 aclocal-missing/
 fi