summaryrefslogtreecommitdiff
path: root/scripts/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-21 17:34:33 +0000
committerWerner Koch <wk@gnupg.org>1998-10-21 17:34:33 +0000
commit23b4a4d81a359205f8a635dc408a5ccc32ba1ef3 (patch)
tree3b15f4dc4ef5f898eec2610cb7f0d273f326e3ca /scripts/autogen.sh
parent064d583dc091dae2530e16ee3a7174b467cd36ed (diff)
downloadlibgcrypt-23b4a4d81a359205f8a635dc408a5ccc32ba1ef3.tar.gz
Epxerimenta support for GDBM keyings.
Diffstat (limited to 'scripts/autogen.sh')
-rwxr-xr-xscripts/autogen.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/autogen.sh b/scripts/autogen.sh
index 17905a13..cba5adcc 100755
--- a/scripts/autogen.sh
+++ b/scripts/autogen.sh
@@ -9,19 +9,25 @@ if (autoconf --version) < /dev/null > /dev/null 2>&1 ; then
else
echo
echo "**Error**: You must have "\`autoconf\'" installed to compile $PGM."
- echo ' (version 2.10 or newer is required'
+ echo ' (version 2.10 or newer is required)'
DIE="yes"
fi
if (automake --version) < /dev/null > /dev/null 2>&1 ; then
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- :
+ if (aclocal --version | awk 'NR==1 { if( $4 >= 1.3 ) exit 1; exit 0; }');
+ then
+ echo "**Error**: "\`aclocal\'" is too old."
+ echo ' (version 1.3 or newer is required)'
+ DIE="yes"
+ fi
else
echo
echo "**Error**: Missing "\`aclocal\'". The version of "\`automake\'
echo " installed doesn't appear recent enough."
DIE="yes"
fi
+
else
echo
echo "**Error**: You must have "\`automake\'" installed to compile $PGM."
@@ -40,3 +46,5 @@ automake --gnu;
autoheader
autoconf
+echo "Ready to run ./configure"
+