From 1c48ac84ea27e2205139cefe4a139752694be77b Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Sat, 4 May 2013 17:31:13 +0100 Subject: [PATCH] Use dedicated m4 dir, update deprecated macros. --- Makefile.am | 2 +- configure.ac | 4 +++- boost.m4 => m4/boost.m4 | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename boost.m4 => m4/boost.m4 (100%) diff --git a/Makefile.am b/Makefile.am index 1aebf671760a..3d59fac96bf9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ codedocs/Makefile codedocs/doxygen.conf contrib/powerdns.solaris.init.d \ contrib/systemd-pdns.service contrib/systemd-pdns-recursor.service \ bootstrap build-scripts/semistaticg++ -ACLOCAL_AMFLAGS = -I. +ACLOCAL_AMFLAGS = -I m4 man8_MANS=pdns/docs/pdns_control.8 pdns/docs/pdns_server.8 pdns/docs/zone2sql.8 diff --git a/configure.ac b/configure.ac index 813cb6884bba..b7b4ae49f258 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,9 @@ AC_INIT([pdns],[3.2]) AC_CONFIG_SRCDIR([pdns/receiver.cc]) AM_INIT_AUTOMAKE([tar-ustar]) AC_CANONICAL_HOST -AM_CONFIG_HEADER(config.h) +LT_INIT +AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_HEADERS([config.h]) AC_C_BIGENDIAN AC_PREREQ(2.52) : ${CXXFLAGS="-Wall -O2"} diff --git a/boost.m4 b/m4/boost.m4 similarity index 100% rename from boost.m4 rename to m4/boost.m4