From d22159d6bb91e8472eb621417df34d83e58373c0 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 9 Oct 2009 11:05:48 -0400 Subject: [PATCH] Add AC_CONFIG_MACRO_DIR([m4]), re-add ACLOCAL_AMFLAGS Fixes warning: libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Signed-off-by: Mathieu Desnoyers --- Makefile.am | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 13e9ee5..3dac293 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,4 @@ +ACLOCAL_AMFLAGS=-I m4 INCLUDES = -I$(top_builddir)/urcu AM_LDFLAGS=-lpthread diff --git a/configure.ac b/configure.ac index 3a26747..a87efb1 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,7 @@ AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) AC_CONFIG_SRCDIR([urcu.h]) AC_PROG_MKDIR_P +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h urcu/config.h]) -- 2.34.1