diff options
author | Erik Walthinsen <omega@temple-baptist.org> | 2001-05-25 20:50:09 +0000 |
---|---|---|
committer | Erik Walthinsen <omega@temple-baptist.org> | 2001-05-25 20:50:09 +0000 |
commit | e4de7369626b91e7f5e3169561621054fed0c959 (patch) | |
tree | ae6079f992bebb3fb51ac8b97f2a16d8ea0ef64c /autogen.sh | |
parent | 9b53fb17c88f96bf8d338db8bafc9d035a29020b (diff) |
Merged from HEAD into INCSCHED on 200105251INCSCHED1-200105251-ROOTBRANCH-INCSCHED1-200105251BRANCH-INCSCHED1
Original commit message from CVS:
Merged from HEAD into INCSCHED on 200105251
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh index 8afe49338a..1a0a240ddb 100755 --- a/autogen.sh +++ b/autogen.sh @@ -32,11 +32,28 @@ libtool_version=`libtool --version | sed 's/^.* \([0-9\.]*\) .*$/\1/'` libtool_major=`echo $libtool_version | cut -d. -f1` libtool_minor=`echo $libtool_version | cut -d. -f2` libtool_micro=`echo $libtool_version | cut -d. -f3` -if [ $libtool_major -lt 1 -o $libtool_minor -lt 3 -o $libtool_micro -lt 5 ];then - echo - echo "You must have libtool 1.3.5 or greater to compile $package." - echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/" - DIE=1 +if [ x$libtool_micro = x ]; then + libtool_micro=0 +fi +if [ $libtool_major -le 1 ]; then + if [ $libtool_major -lt 1 ]; then + echo + echo "You must have libtool 1.3.5 or greater to compile $package." + echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/" + DIE=1 + elif [ $libtool_minor -le 3 ]; then + if [ $libtool_minor -lt 3 ]; then + echo + echo "You must have libtool 1.3.5 or greater to compile $package." + echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/" + DIE=1 + elif [ $libtool_micro -lt 5 ]; then + echo + echo "You must have libtool 1.3.5 or greater to compile $package." + echo "Get the latest version from ftp://alpha.gnu.org/gnu/libtool/" + DIE=1 + fi + fi fi if test "$DIE" -eq 1; then |