[PATCH] Makefile.am: add include dir for AC_CONFIG_MACRO_DIR to work

Maciej Wolny maciej.wolny at codethink.co.uk
Tue Jun 5 10:53:51 UTC 2018


da331647269ee9d73c4008ae901d107320bdc8d1 added a compatiblity macro for
old versions of pkg-config. However, the file in which that macro
resides was not included. From the autoconf docs: "Note that if you use
aclocal from Automake to generate aclocal.m4, you must also set
ACLOCAL_AMFLAGS = -I dir in your top-level Makefile.am.".
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 4b9a901..1aa13cf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4
+
 unstable_protocols =								\
 	unstable/pointer-gestures/pointer-gestures-unstable-v1.xml		\
 	unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml		\
-- 
2.11.0

Before this, ./autogen.sh would fail for me (with autoconf 2.68 and
pkgconfig 0.25).

-- milloni


More information about the wayland-devel mailing list