summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-15 21:40:37 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:22 -0400
commit973401b5dc1334c6065ea032a94b44c9d1df6fef (patch)
treec97cadc808d8f84da6446ed049d3aa3ecde4b3d8
parent7a7abc9a81a7129eafcdfba8dd2561bcf63a1c7a (diff)
downloadfork-ledger-973401b5dc1334c6065ea032a94b44c9d1df6fef.tar.gz
fork-ledger-973401b5dc1334c6065ea032a94b44c9d1df6fef.tar.bz2
fork-ledger-973401b5dc1334c6065ea032a94b44c9d1df6fef.zip
Use libtoolize if glibtoolize can't be found.
-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