From dd1fcce2286844719bffd300a0267cfb2d1d4a36 Mon Sep 17 00:00:00 2001 From: Harri Porten Date: Sun, 15 Dec 2002 13:02:44 +0000 Subject: check for libtoolize before attempting to use it --- autogen.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index a3923bbc..0b374df9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -37,6 +37,13 @@ ACLOCAL=aclocal-1.6 DIE=1 } +(libtoolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have libtoolize installed to compile $PROJECT." + echo "Install the libtool package from ftp.gnu.org or a mirror." + DIE=1 +} + if test "$DIE" -eq 1; then exit 1 fi -- cgit