X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=MakeMakefile;h=4436f789b44edf56debe6bb8b89048cab68a737b;hb=e74c470c015418c89469fef6c3df029f5018a24e;hp=6faa3431c8a28dbeab7ff1fce5d3b5bde64c37fc;hpb=5837606887a6d81e8b1f7588525cb1c8783fb62b;p=rrdtool.git diff --git a/MakeMakefile b/MakeMakefile index 6faa343..4436f78 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -4,5 +4,39 @@ # makefiles and friends set -x # -automake --foreign --verbose -autoconf --localdir=./config +find . -name Makefile | xargs rm -f +find . -name Makefile.in | xargs rm -f + +if [ 1.4.2 -gt `libtool --version | awk '{print $4}'` ] +then + echo get a copy of GNU libtool >= 1.4.2 + exit 1 +fi + +if [ 1.5 -gt `automake --version | head -1 | awk '{print $4}'` ] +then + echo get a copy of GNU automake >= 1.5 + exit 1 +fi + +if [ 2.52 -gt `autoconf --version | head -1 | awk '{print $4}'` ] +then + echo get a copy of GNU autoconf >= 2.52 + exit 1 +fi + + + +# wget ftp://ftp.gnu.org/gnu/libtool/libtool-1.4.2.tar.gz +libtoolize --copy +cp ltmain.sh config + +# wget ftp://sources.redhat.com/pub/automake/automake-1.5.tar.gz +aclocal +autoheader --warnings=all +automake --foreign --add-missing --force-missing --copy + +# wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.52.tar.gz +autoconf + +