From 6d08c4dbd39d93d076622ecc885cb9574b774875 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 9 Jun 2013 15:28:28 -0700 Subject: [PATCH] build: avoid warning about deprecated use of automake's ACLOCAL_AMFLAGS * Makefile.am (ACLOCAL_AMFLAGS): Don't use this deprecated variable. * configure.ac: Do this instead: AC_CONFIG_MACRO_DIR([m4]). --- Makefile.am | 1 - configure.ac | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 764c782..a3fade7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,6 @@ ALL_RECURSIVE_TARGETS = BUILT_SOURCES = SUBDIRS = lib doc . tests -ACLOCAL_AMFLAGS = -I m4 AM_CPPFLAGS = -I$(top_srcdir)/lib AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) diff --git a/configure.ac b/configure.ac index cb04125..b2b5d0a 100644 --- a/configure.ac +++ b/configure.ac @@ -24,8 +24,9 @@ AC_INIT([gzip], m4_esyscmd([build-aux/git-version-gen .tarball-version]), [bug-gzip@gnu.org]) -AC_CONFIG_SRCDIR(gzip.c) -AC_CONFIG_AUX_DIR(build-aux) +AC_CONFIG_SRCDIR([gzip.c]) +AC_CONFIG_AUX_DIR([build-aux]) +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([lib/config.h:lib/config.hin]) AM_INIT_AUTOMAKE([1.11 dist-xz color-tests parallel-tests]) AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. -- 2.47.2