autogen.sh: Fix check for libtool (we only need libtoolize)
authorColin Walters <walters@verbum.org>
Sun, 29 Jan 2012 21:22:51 +0000 (16:22 -0500)
committerDavid Zeuthen <zeuthen@gmail.com>
Wed, 6 Jun 2012 13:15:43 +0000 (09:15 -0400)
A pre-built libtool copy may not be installed on all systems; all
we need is libtoolize.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
autogen.sh

index 426e875..d08b00a 100755 (executable)
@@ -26,7 +26,7 @@ touch ChangeLog
 }
 
 (grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null) && {
-  (libtool --version) < /dev/null > /dev/null 2>&1 || {
+  (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
     echo
     echo "**Error**: You must have libtool installed."
     echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"