From 2c7a6087e28e5dbef634ebdffe97a0759cef1393 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 18 Feb 2002 21:52:20 +0000 Subject: [PATCH] added autotools version check to MakeMakefiles git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@79 a5681a0c-68f1-0310-ab6d-d61299d08faa --- MakeMakefile | 19 +++++++++++++++++++ examples/bigtops.pl | 2 ++ 2 files changed, 21 insertions(+) diff --git a/MakeMakefile b/MakeMakefile index a50537d..4436f78 100755 --- a/MakeMakefile +++ b/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/examples/bigtops.pl b/examples/bigtops.pl index 24ec6af..52e77e4 100755 --- a/examples/bigtops.pl +++ b/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"; ; -- 2.30.2