summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xusbhid-dump/bootstrap7
1 files changed, 6 insertions, 1 deletions
diff --git a/usbhid-dump/bootstrap b/usbhid-dump/bootstrap
index 05819c8..3247461 100755
--- a/usbhid-dump/bootstrap
+++ b/usbhid-dump/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