X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=MakeMakefile;h=4436f789b44edf56debe6bb8b89048cab68a737b;hb=6b03c620c1be20d56ebf5a28c67ceb4951f695e8;hp=661ccc20848588036a3d3093ee7a84802fcbf058;hpb=9617bbaf528ac2e9942b64e09642f1915bb9bf9c;p=rrdtool.git diff --git a/MakeMakefile b/MakeMakefile index 661ccc2..4436f78 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -7,9 +7,29 @@ set -x 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 --automake +libtoolize --copy +cp ltmain.sh config # wget ftp://sources.redhat.com/pub/automake/automake-1.5.tar.gz aclocal