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
commit963f05e8d0d00c9773f581e814bbcccaf3567eb8 (patch)
treec97cadc808d8f84da6446ed049d3aa3ecde4b3d8
parent722b9c78bfbfb475302177687da23317ddf9493c (diff)
downloadfork-ledger-963f05e8d0d00c9773f581e814bbcccaf3567eb8.tar.gz
fork-ledger-963f05e8d0d00c9773f581e814bbcccaf3567eb8.tar.bz2
fork-ledger-963f05e8d0d00c9773f581e814bbcccaf3567eb8.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