From edbae29d774e30967bee74463ad505ff9a81f87d Mon Sep 17 00:00:00 2001 From: Cyril Hrubis Date: Tue, 15 Jul 2014 14:57:27 +0200 Subject: [PATCH] configure.ac: Add AC_CONFIG_MACRO_DIR Otherwise macros in m4 directory are not found on autoreconf Signed-off-by: Cyril Hrubis --- configure.ac | 1 + include/mk/automake.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ceb1d1863..0e1c3b844 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ AC_INIT([ltp], [LTP_VERSION], [ltp-list@lists.sourceforge.net]) AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([include/config.h]) +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_FILES([ \ include/mk/config.mk \ include/mk/features.mk \ diff --git a/include/mk/automake.mk b/include/mk/automake.mk index 309947c5b..252a44d50 100644 --- a/include/mk/automake.mk +++ b/include/mk/automake.mk @@ -42,7 +42,7 @@ autotools: aclocal autoconf autoheader automake $(addsuffix /configure,$(AUTOCON aclocal: aclocal.m4 aclocal.m4: $(wildcard m4/*.m4) m4/ltp-version.m4 - $(ACLOCAL) -I m4 + $(ACLOCAL) .PHONY: autoconf autoconf: configure