]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: check for libtoolize rather than libtool
authorHelmut Grohne <helmut@subdivi.de>
Tue, 7 Oct 2014 21:07:19 +0000 (23:07 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Oct 2014 10:04:11 +0000 (12:04 +0200)
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>
autogen.sh

index d1a686c1636c729377b9e40686c33865c84cf00b..d0b340fd9ac57c019ca37d88354065379dd41f9c 100755 (executable)
@@ -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