check for libtoolize before attempting to use it

This commit is contained in:
Harri Porten 2002-12-15 13:02:44 +00:00
parent a0e550bc60
commit dd1fcce228
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2002-12-15 Harri Porten <porten@kde.org>
* autogen.sh: check for libtoolize before attempting to use it
2002-12-15 Havoc Pennington <hp@pobox.com>
* dbus/dbus-threads.c: add thread stubs that a higher library

View file

@ -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