summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 05819c8..3247461 100755
--- a/bootstrap
+++ b/bootstrap
@@ -26,7 +26,12 @@ cat > ChangeLog <<CUT
CUT
aclocal -I m4
-libtoolize
+# Prefer glibtoolize over libtoolize on Darwin
+if command -v glibtoolize >/dev/null; then
+ glibtoolize
+else
+ libtoolize
+fi
autoheader
automake --add-missing
autoconf