Code

Relax automake requirements and make 1.11 features optional -- kevin brintnall
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 8 Jun 2009 04:56:56 +0000 (04:56 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 8 Jun 2009 04:56:56 +0000 (04:56 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1856 a5681a0c-68f1-0310-ab6d-d61299d08faa

MakeMakefile
configure.ac

index ab2a275fd6ecf6d41f957beffd4ff8f6c31729bb..90e4700fd5a26dafd921693744fc9b06ebe4d00e 100755 (executable)
@@ -17,9 +17,9 @@ 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"
 
 if vcheck $LIBTOOL_VER "libtool --version"
 then
index dc8164673313b76545628f324efc19f23262ab68..2f4be2cd0720f2ab969a9f81406b89aa551813e7 100644 (file)
@@ -8,6 +8,9 @@ dnl Inspiration from http://autoconf-archive.cryp.to
  
 dnl tell automake the this script is for rrdtool
 
+dnl Minimum Autoconf version required.
+AC_PREREQ(2.59)
+
 dnl the official version number is
 dnl a.b.c
 AC_INIT([rrdtool],[1.3.999])
@@ -32,10 +35,10 @@ LIBVERS=5:0:1
 AC_SUBST(LIBVERS)
 
 AC_CANONICAL_TARGET
-AC_USE_SYSTEM_EXTENSIONS
-AM_INIT_AUTOMAKE([silent-rules])
+m4_version_prereq(2.60, [AC_USE_SYSTEM_EXTENSIONS], [#])
+AM_INIT_AUTOMAKE(m4_version_prereq(2.63, [silent-rules], [[]]))
 AM_MAINTAINER_MODE
-AM_SILENT_RULES([yes])
+m4_version_prereq(2.63, [AM_SILENT_RULES([yes])], [#])
 AC_CONFIG_HEADERS([rrd_config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -49,9 +52,6 @@ AC_SUBST(VERSION)
 
 AC_PREFIX_DEFAULT( /usr/local/rrdtool-$PACKAGE_VERSION )
 
-dnl Minimum Autoconf version required.
-AC_PREREQ(2.59)
-
 dnl At the TOP of the HEADER
 
 AH_TOP([