summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-10-07 23:07:19 +0200
committerKarel Zak <kzak@redhat.com>2014-10-24 11:10:06 +0200
commitee6d6fcdf78b909a9bd67fc41fc79f8c266ff981 (patch)
treefa65c4ef99f78d2ee47619fd5070320390e14561
parent007fd134835e3f3cec8144e9b76949b6db296579 (diff)
downloadutil-linux-ee6d6fcdf78b909a9bd67fc41fc79f8c266ff981.tar.gz
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>
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index d1a686c16..d0b340fd9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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