summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep6
1 files changed, 5 insertions, 1 deletions
diff --git a/acprep b/acprep
index 23df9c50..8aa0f343 100755
--- a/acprep
+++ b/acprep
@@ -2,7 +2,11 @@
touch AUTHORS COPYING
-glibtoolize --automake -f -c
+if which glibtoolize > /dev/null 2>&1; then
+ glibtoolize --automake -f -c
+else
+ libtoolize --automake -f -c
+fi
aclocal
autoheader
if [ "$1" = "--dist" ]; then