From: oetiker Date: Mon, 18 Feb 2002 21:52:20 +0000 (+0000) Subject: added autotools version check to MakeMakefiles X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7848036abc3f589c8dd5ec095ab8a50d535a36b7;p=rrdtool-all.git added autotools version check to MakeMakefiles git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@79 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/MakeMakefile b/program/MakeMakefile index a50537d6..4436f789 100755 --- a/program/MakeMakefile +++ b/program/MakeMakefile @@ -7,6 +7,25 @@ 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 --copy diff --git a/program/examples/bigtops.pl b/program/examples/bigtops.pl index 24ec6af6..52e77e4b 100755 --- a/program/examples/bigtops.pl +++ b/program/examples/bigtops.pl @@ -40,6 +40,8 @@ RRDs::graph "$name.png", "AREA:b#00b6e4:beta", "AREA:line#0022e9:alpha", "LINE3:line#ff0000", + "GRPINT:a:AVERAGE:Average a %lf", + "GRPINT:b:AVERAGE:Average b %lf"; ;