From 5b071406997aa9ce5213b3aa42f3fa0f6c1bbe5f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 22 Apr 2016 22:36:39 +0300 Subject: [PATCH] configure, Makefile: Tell autoconf/automake about m4 directory To finally get rid of the complaints: libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. --- Makefile.am | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 418ea70cdf..ec527bbf00 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,5 @@ aclocaldir = $(datadir)/aclocal +ACLOCAL_AMFLAGS = -I m4 SUBDIRS = \ . \ diff --git a/configure.ac b/configure.ac index 301118c638..d5789bb214 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,7 @@ AC_INIT([Dovecot],[2.3.devel],[dovecot@dovecot.org]) AC_DEFINE_UNQUOTED([DOVECOT_ABI_VERSION], "2.3.ABIv0($PACKAGE_VERSION)", [Dovecot ABI version]) AC_CONFIG_SRCDIR([src]) +AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign]) -- 2.47.3