From 13ea2cb622f48c528b36970eff5e2cf42b3769fc Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 21 Jun 2014 11:20:53 -0400 Subject: [PATCH] add AC_CONFIG_MACRO_DIR([m4]), move *.m4 files to m4/ Silences notice on newer autoconf: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. This helps keep the top-level build directory clean, too --- Makefile.am | 2 +- configure.ac | 1 + curses.m4 => m4/curses.m4 | 0 glib-2.0.m4 => m4/glib-2.0.m4 | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename curses.m4 => m4/curses.m4 (100%) rename glib-2.0.m4 => m4/glib-2.0.m4 (100%) diff --git a/Makefile.am b/Makefile.am index 07c5d292..5bb0a2d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -ACLOCAL_AMFLAGS = -I . +ACLOCAL_AMFLAGS = -I m4 # create default-config.h BUILT_SOURCES = default-config.h default-theme.h irssi-version.h diff --git a/configure.ac b/configure.ac index 61af4f89..d409be36 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,7 @@ AC_CONFIG_AUX_DIR(build-aux) AC_PREREQ(2.50) AC_CONFIG_HEADERS([irssi-config.h]) +AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([1.9 no-define foreign]) AM_MAINTAINER_MODE diff --git a/curses.m4 b/m4/curses.m4 similarity index 100% rename from curses.m4 rename to m4/curses.m4 diff --git a/glib-2.0.m4 b/m4/glib-2.0.m4 similarity index 100% rename from glib-2.0.m4 rename to m4/glib-2.0.m4