diff options
author | Werner Koch <wk@gnupg.org> | 1999-03-14 19:35:18 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-03-14 19:35:18 +0100 |
commit | dafcce01774db76548b77aad27e61a57d57e8817 (patch) | |
tree | ed14b49dd799f8a5a6b6fc032f21597a942cd6fc /scripts | |
parent | See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner Koch (diff) | |
download | gnupg2-dafcce01774db76548b77aad27e61a57d57e8817.tar.xz gnupg2-dafcce01774db76548b77aad27e61a57d57e8817.zip |
See ChangeLog: Sun Mar 14 19:34:36 CET 1999 Werner Koch
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | scripts/autogen.sh | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog index 612573a05..bc352d720 100644 --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 14 19:34:36 CET 1999 Werner Koch <wk@isil.d.shuttle.de> + + * autogen.sh: Add a check for libtool because some autoconf macros + are needed. + Mon Feb 22 20:04:00 CET 1999 Werner Koch <wk@isil.d.shuttle.de> * autogen.sh: Enhanced the version testing code (Philippe Laliberte) diff --git a/scripts/autogen.sh b/scripts/autogen.sh index 47a0f6604..506066180 100755 --- a/scripts/autogen.sh +++ b/scripts/autogen.sh @@ -7,6 +7,7 @@ DIE=no autoconf_vers=2.13 automake_vers=1.4 aclocal_vers=1.4 +libtool_vers=1.2 if (autoconf --version) < /dev/null > /dev/null 2>&1 ; then if (autoconf --version | awk 'NR==1 { if( $3 >= '$autoconf_vers') \ @@ -64,6 +65,22 @@ if (gettext --version </dev/null 2>/dev/null | awk 'NR==1 { split($4,A,"\."); \ fi +if (libtool --version) < /dev/null > /dev/null 2>&1 ; then + if (libtool --version | awk 'NR==1 { if( $4 >= '$libtool_vers') \ + exit 1; exit 0; }'); + then + echo "**Error**: "\`libtool\'" is too old." + echo ' (version ' $libtool_vers ' or newer is required)' + DIE="yes" + fi +else + echo + echo "**Error**: You must have "\`autoconf\'" installed to compile $PGM." + echo ' (version ' $autoconf_vers ' or newer is required)' + DIE="yes" +fi + + if test "$DIE" = "yes"; then exit 1 fi |