summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kondrashov <spbnick@gmail.com>2011-12-26 16:06:50 +0200
committerNikolai Kondrashov <spbnick@gmail.com>2011-12-26 16:26:58 +0200
commit2bb4456a7c52dae315d5cbb7b824c135f37c7fa4 (patch)
tree510209e05312ac2e6daef1494179e505ac456c94
parent1376606a432490b4a0fb06924c2f7937582b4508 (diff)
downloadusbhid-dump-2bb4456a7c52dae315d5cbb7b824c135f37c7fa4.tar.gz
Switch to trying libtoolize before glibtoolize
Switch to trying libtoolize first and then glibtoolize in bootstrap script. This apparently suits possible Darwin installs better.
-rwxr-xr-xbootstrap8
1 files 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 <<CUT
CUT
aclocal -I m4
-# Prefer glibtoolize over libtoolize on Darwin
-if command -v glibtoolize >/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