changeset 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 3bd3d8da45c2
children 3f03af31e246
files CHANGELOG bootstrap
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG	Sat May 08 03:10:15 2004 +0000
+++ b/CHANGELOG	Sat May 08 22:10:44 2004 +0000
@@ -2,6 +2,7 @@
  * CHANGELOG.
  */
 
+05082004 - Fixed "bootstrap" to work with MacOSX.
 05072004 - Backed out some commits, converted repository to Subversion, and
            branched off to a 1.1.0 development tree. Changed MikMod URL...old
            one is now a porn site.  :(
--- 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