Use "--force" with "libtoolize", so it doesn't whine, but save
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Dec 2001 21:05:54 +0000 (21:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Dec 2001 21:05:54 +0000 (21:05 +0000)
"config.guess" and "config.sub" vefore running "libtool", and restore
them after running "libtool", so that it doesn't gratuitously "help" us
by installing whatever old versions of those scripts happen to be part
of the version of libtool on the machine.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4369 f5534014-38df-0310-8fa8-9805f1628bb7

autogen.sh

index 3cb487ea8deeb3afd225c96a645ee247edf3807e..5b1766db02e80d1419b4eace28235a4297a50462 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # Run this to generate all the initial makefiles.
 #
-# $Id: autogen.sh,v 1.14 2001/12/09 00:02:44 guy Exp $
+# $Id: autogen.sh,v 1.15 2001/12/09 21:05:54 guy Exp $
 
 DIE=true
 PROJECT="Ethereal"
@@ -69,7 +69,18 @@ esac
 
 $DIE
 
-libtoolize --copy || exit 1
+#
+# We do NOT want libtoolize overwriting our versions of config.guess and
+# config.sub, so move them away and then move them back.
+# We don't omit "--force", as we want libtoolize to install other files
+# without whining.
+#
+mv config.guess config.guess.save-libtool
+mv config.sub config.sub.save-libtool
+libtoolize --copy --force || exit 1
+rm -f config.guess config.sub
+mv config.guess.save-libtool config.guess
+mv config.sub.save-libtool config.sub
 
 if test -z "$*"; then
        echo "Running ./configure with no arguments. If you wish to pass any,"