diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2007-12-04 22:08:45 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2007-12-04 22:08:45 +0000 |
commit | f1945fb241c1ec8c7801354a3911039ad4f88edf (patch) | |
tree | 0201a740d17d403b5178461c2688c024063bcb31 /autogen.sh | |
parent | cd9082f15f9a18cfa93464e8fd1f1caa708465f9 (diff) | |
download | navit-f1945fb241c1ec8c7801354a3911039ad4f88edf.tar.gz |
Added checks for pkg-config and libtool to avoid failed autogens
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@613 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index b483139f9..294a95fae 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,2 +1,14 @@ #!/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 + autoreconf --force --install -I m4 |