diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2007-12-05 09:20:15 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2007-12-05 09:20:15 +0000 |
commit | a3b5acb9802d249c750459cd080fccdfc3c5f723 (patch) | |
tree | fca3eb5e180cee45be472613668cb0390611d157 | |
parent | 7464872a0cb223e610722b7644bc0c5d9800746f (diff) | |
download | navit-svn-a3b5acb9802d249c750459cd080fccdfc3c5f723.tar.gz |
Check for more dependencies before running autoreconf
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@614 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rwxr-xr-x | autogen.sh | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -1,14 +1,11 @@ #!/bin/sh -if ! pkg-config --version >/dev/null -then - echo "You need to install pkg-config" - exit 1 -fi - -if ! libtool --version >/dev/null -then - echo "You need to install libtool" - exit 1 -fi +for pkg in pkg-config libtool autoreconf automake aclocal autopoint:gettext +do + if ! ${pkg%%:*} --version >/dev/null + then + echo "You need to install ${pkg##*:}" + exit 1 + fi +done autoreconf --force --install -I m4 |