diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-30 21:34:58 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-30 21:34:58 +0000 |
commit | 8de7c68cdf4973945ff9fd56c0348ca923325d28 (patch) | |
tree | 1fe1b5d864aa9fb90575f55821694362191dcce2 /autogen.sh | |
parent | b1973ebbc79f2e6612429d73cf9f060f13e980e4 (diff) |
Add a check for "libtool".
Add the minimum version of {autoconf,automake,libtool} required to the
message printed if it's not found (having it check to make sure you have
at least that version is a bit more work).
Update the paths for "ftp.gnu.org" to reflect the fact that they now give
each package its own subdirectory.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1399 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh index 3351c8f91a..aabc44039d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,24 +2,40 @@ # # Run this to generate all the initial makefiles. # -# $Id: autogen.sh,v 1.6 1999/08/31 05:51:59 gram Exp $ +# $Id: autogen.sh,v 1.7 1999/12/30 21:34:58 guy Exp $ DIE=0 PROJECT="Ethereal" +# +# XXX - we should really get the version numbers into variables, and +# check to make sure they have a recent enough version, but I'm +# not sure that the version strings you get are amenable to ordered +# comparisons (e.g., I think some versions of Red Hat Linux may have +# version numbers such as "1.4a"); that may be soluble, but it might +# take some work. +# (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo - echo "You must have autoconf installed to compile $PROJECT." + echo "You must have autoconf 2.13 or later installed to compile $PROJECT." echo "Download the appropriate package for your distribution/OS," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf/" DIE=1 } (automake --version) < /dev/null > /dev/null 2>&1 || { echo - echo "You must have automake installed to compile $PROJECT." + echo "You must have automake 1.4 or later installed to compile $PROJECT." + echo "Download the appropriate package for your distribution/OS," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/" + DIE=1 +} + +(libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have libtool 1.3.4 or later installed to compile $PROJECT." echo "Download the appropriate package for your distribution/OS," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/" DIE=1 } |