diff bootstrap @ 476:365c3adc99c1 stable-1.0

Fixed "bootstrap" script to work with MacOS X.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 08 May 2004 22:10:44 +0000
parents 2b9131a7653c
children
line wrap: on
line diff
--- a/bootstrap	Sat May 08 03:10:15 2004 +0000
+++ b/bootstrap	Sat May 08 22:10:44 2004 +0000
@@ -3,7 +3,15 @@
 set -e
 echo "Initial preparation...this can take awhile, so sit tight..."
 aclocal
-libtoolize --automake --copy --force
+
+# MacOS X renames GNU libtool to "glibtool", since they have something
+#  else called "libtool" already...
+if [ -x /usr/bin/glibtoolize ]; then
+  glibtoolize --automake --copy --force
+else
+  libtoolize --automake --copy --force
+fi
+
 autoheader
 automake --foreign --add-missing --copy
 autoconf