diff options
author | Sami Kerola | 2011-10-01 13:18:17 +0200 |
---|---|---|
committer | Karel Zak | 2011-10-10 13:56:53 +0200 |
commit | 13ba1df87ddd91bdd14c6df33bbdc39791f90fd7 (patch) | |
tree | 029054f81efd1581915044d97176672b5f4a402c /autogen.sh | |
parent | Merge branch 'manuals' of https://github.com/kerolasa/lelux-utiliteetit (diff) | |
download | kernel-qcow2-util-linux-13ba1df87ddd91bdd14c6df33bbdc39791f90fd7.tar.gz kernel-qcow2-util-linux-13ba1df87ddd91bdd14c6df33bbdc39791f90fd7.tar.xz kernel-qcow2-util-linux-13ba1df87ddd91bdd14c6df33bbdc39791f90fd7.zip |
build-sys: enhance error message for missing libtoolize
The commit will will use `You must have libtool version...' message
when libtoolize is missing. Earlier the error message less helpful.
./autogen.sh: line 59: test: =: unary operator expected
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index c07984bcf..14a795ffd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -55,6 +55,7 @@ test -f mount/mount.c || { } ltver=$(libtoolize --version | awk '/^libtoolize/ { print $4 }') +ltver=${ltver:-"none"} test ${ltver##2.} = "$ltver" && { echo "You must have libtool version >= 2.x.x, but you have $ltver." DIE=1 |