X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=MakeMakefile;h=74192458416ac8a34b247383886be576087ff10b;hp=ab2a275fd6ecf6d41f957beffd4ff8f6c31729bb;hb=2e8928599355e8fde32ff9361db58baeae7e06ea;hpb=b172d64ec7d17e46839b9ea3575cb5eadee1a431 diff --git a/MakeMakefile b/MakeMakefile index ab2a275..7419245 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Run this script after the first cvs checkout to build # makefiles and friends @@ -17,11 +17,18 @@ PERL } ERROR=0 -LIBTOOL_VER="2.2.6" -AUTOMAKE_VER="1.11" -AUTOCONF_VER="2.63" +LIBTOOL_VER="1.5.6" +AUTOMAKE_VER="1.9.2" +AUTOCONF_VER="2.59" +LIBTOOL_BIN="libtool" -if vcheck $LIBTOOL_VER "libtool --version" +# On MAC OS X, GNU libtool is named 'glibtool': +if [ `(uname -s) 2>/dev/null` == 'Darwin' ] +then + LIBTOOL_BIN="glibtool" +fi + +if vcheck $LIBTOOL_VER "$LIBTOOL_BIN --version" then echo "get a copy of GNU libtool >= $LIBTOOL_VER" ERROR=1