summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 1049614..ced8684 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,3 +61,5 @@ ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
+
+ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
index f5c1a78..240610c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,14 +26,14 @@ AC_INIT([libXau], [1.0.11],
[https://gitlab.freedesktop.org/xorg/lib/libxau/-/issues], [libXau])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIRS([m4])
AC_USE_SYSTEM_EXTENSIONS
# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-xz])
# Initialize libtool
-AC_LIBTOOL_WIN32_DLL
-AC_PROG_LIBTOOL
+LT_INIT([win32-dll])
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],