summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d0a87a)
raw | patch | inline | side by side (parent: 7d0a87a)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 23 Mar 2008 13:46:34 +0000 (14:46 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 23 Mar 2008 13:46:34 +0000 (14:46 +0100) |
This way, the script should work on e.g. MacOSX as well.
bootstrap.sh | patch | blob | history |
diff --git a/bootstrap.sh b/bootstrap.sh
index 40a1920fe9aa70451916b9442378c1e4d1779d3b..c72e9b59aa17920990b155d5e6ee7aca7cb1478d 100755 (executable)
--- a/bootstrap.sh
+++ b/bootstrap.sh
#! /bin/sh
+libtoolize=libtoolize
+
+if which glibtoolize > /dev/null 2>&1; then
+ libtoolize=glibtoolize
+fi
+
set -ex
test ! -f Makefile || make distclean
aclocal
autoheader
-libtoolize --ltdl --copy --force
+$libtoolize --ltdl --copy --force
automake --add-missing --copy --foreign
autoconf -Wall