From 0e6d9a771ac8b506b132e641fe1589f23cb1f650 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Tue, 27 May 2014 09:07:54 +0200 Subject: [PATCH] build: Silence libtoolize warnings When running the autogen.sh script, libtoolize complains thusly: 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. Silence the warnings by following libtoolize's advice. Signed-off-by: Thierry Reding --- Makefile.am | 2 ++ configure.ac | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 9fc04eeb..191dcc9e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +ACLOCAL_AMFLAGS = -I m4 + bin_PROGRAMS = noinst_PROGRAMS = libexec_PROGRAMS = diff --git a/configure.ac b/configure.ac index 16e813d1..b4511fcb 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,7 @@ AC_SUBST([WESTON_VERSION], [weston_version]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIR([m4]) AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE