aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index a1a7b8817..6d4876e5f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,6 +6,7 @@
AUTOCONF=$(which autoconf)
AUTOMAKE=$(which automake)
LIBTOOL=$(which libtool)
+LIBTOOLIZE=$(which libtoolize)
AUTORECONF=$(which autoreconf)
if test -z $AUTOCONF; then
@@ -18,8 +19,8 @@ if test -z $AUTOMAKE; then
exit
fi
-if test -z $LIBTOOL; then
- echo "libtool is missing: please install it and try again"
+if test -z $LIBTOOL && test -z $LIBTOOLIZE ; then
+ echo "libtool and libtoolize is missing: please install it and try again"
exit
fi