build-sys: check for libtoolize rather than libtool

The system libtool program has architecture dependent behaviour. It is
therefore unavailable in cross build environments. The only place it was
used in util-linux is autogen.sh to determine the availability of
libtool. All other places correctly use libtoolize or
$(top_builddir)/libtool.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
This commit is contained in:
Helmut Grohne 2014-10-07 23:07:19 +02:00 committed by Karel Zak
parent 9ed38607d7
commit e71b0aadaa
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ test -f sys-utils/mount.c || {
echo
DIE=1
}
(libtool --version) < /dev/null > /dev/null 2>&1 || {
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have libtool-2 installed to generate util-linux build system."
echo