X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=configure.ac;h=cc033195802179a2722266e7c4b60698e518e319;hp=dc8164673313b76545628f324efc19f23262ab68;hb=0044bc9e909f8bd1b4df28d2d3a8d08047071822;hpb=1ec27148ca1418395b02e424374a0a264051b5b9 diff --git a/configure.ac b/configure.ac index dc81646..cc03319 100644 --- a/configure.ac +++ b/configure.ac @@ -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([ @@ -870,6 +870,10 @@ AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([bindings/lua/Makefile]) AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.pl]],[[]]) + +dnl intl requires our config to be called config.h. indulge it. +AC_CONFIG_COMMANDS_POST([ test -f config.h || ln -s rrd_config.h config.h ]) + AC_OUTPUT AC_MSG_CHECKING(in)