diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index a317f0b20..4fbcdca6f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -18,7 +18,7 @@ cvtver () { } check_version () { - if [ $(( `("$1" --version || echo "0") | cvtver` >= $2 )) == 1 ]; then + if [ `("$1" --version || echo "0") | cvtver` -ge "$2" ]; then return 0 fi echo "**Error**: "\`$1\'" not installed or too old." >&2 @@ -148,6 +148,8 @@ EOF exit 1 fi +exit 0 + echo "Running aclocal -I m4 ..." $ACLOCAL -I m4 echo "Running autoheader..." |