From de84448e3a1c07c0b6f749bc59b03c52f99571d7 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 31 Jan 2017 12:45:56 +0000 Subject: [PATCH] build: Tell autoconf to use a macro dir This avoids warnings coming from libtoolize and recent versions of autoconf. --- Makefile.am | 2 ++ configure.ac | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index f47e5b3..6f2dc91 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,6 +20,8 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. +ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = include/epoxy src SUBDIRS += test diff --git a/configure.ac b/configure.ac index e733267..1c99f44 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,7 @@ AC_INIT([libepoxy], [libepoxy]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIR([m4]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects])