From 2bb4456a7c52dae315d5cbb7b824c135f37c7fa4 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Mon, 26 Dec 2011 16:06:50 +0200 Subject: Switch to trying libtoolize before glibtoolize Switch to trying libtoolize first and then glibtoolize in bootstrap script. This apparently suits possible Darwin installs better. --- bootstrap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap b/bootstrap index 3247461..09485a7 100755 --- a/bootstrap +++ b/bootstrap @@ -26,11 +26,11 @@ cat > ChangeLog </dev/null; then - glibtoolize -else +if command -v libtoolize >/dev/null; then libtoolize +else + # Try glibtoolize, if libtoolize is not found - could happen on Darwin + glibtoolize fi autoheader automake --add-missing -- cgit v1.2.1