summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-02-12 10:25:30 +0100
committerWerner Koch <wk@gnupg.org>2004-02-12 10:25:30 +0100
commit53d11566822393b91d8ca238a6bc98c7291440fe (patch)
tree97de2abda636124f435ecbd12c97568f4cc0f2cf /autogen.sh
parentNew. Based on code from ../sm/base64.c. (diff)
downloadgnupg2-53d11566822393b91d8ca238a6bc98c7291440fe.tar.xz
gnupg2-53d11566822393b91d8ca238a6bc98c7291440fe.zip
* am/cmacros.am: New.
* configure.ac: Removed the need for g10defs.h. Reworked the --with-foo-pgm stuff. * autogen.sh (check_version): Removed bashism and simplified. * acinclude.m4 (AM_PATH_OPENSC): Kludge to avoid error output for a bad opensc-config.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
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..."