# HG changeset patch
# User Nick Wellnhofer <wellnhofer@aevum.de>
# Date 1648912900 -7200
#      Sat Apr 02 17:21:40 2022 +0200
# Node ID f3f2f37a847a54ef581dd0b4cad636239c438c29
# Parent  f0188b2636593b77dd784c0958b221a9be56595c
Set AC_CONFIG_MACRO_DIR

Silences libtool warnings.

diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,7 @@
 libxslt.spec.in.orig
 libxslt/xsltconfig.h
 ltmain.sh
+m4/
 missing
 py-compile
 python/*.pyc
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4
+
 SUBDIRS = libxslt libexslt xsltproc doc tests
 if WITH_PYTHON
 SUBDIRS += python
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,7 @@
 AC_INIT([libxslt], [MAJOR_VERSION.MINOR_VERSION.MICRO_VERSION])
 AC_CONFIG_SRCDIR([libxslt/xslt.c])
 AC_CONFIG_HEADERS(config.h)
+AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_HOST
 AC_USE_SYSTEM_EXTENSIONS