summaryrefslogtreecommitdiff
authorDamien Lespiau <damien.lespiau@intel.com>2012-10-25 23:51:46 (GMT)
committer Ran Benita <ran234@gmail.com>2012-10-30 13:08:14 (GMT)
commit2f7385d0e05072930cd91eaeeade4655bfd15acd (patch) (side-by-side diff)
treee3438326ceef495fdd5154ac9ef6cba245e53951
parent94155878ec98e2583e6ec999a881ad8015231a5c (diff)
downloadlibxkbcommon-2f7385d0e05072930cd91eaeeade4655bfd15acd.zip
libxkbcommon-2f7385d0e05072930cd91eaeeade4655bfd15acd.tar.gz
build: Make autoreconf honour ACLOCAL_FLAGS
When running autoreconf, it's possible to give flags to the underlying aclocal by declaring a ACLOCAL_AMFLAGS variable in the top level Makefile.am. Putting ${ACLOCAL_FLAGS} there allows the user to set an environment variable up before running autogen.sh and pull in the right directories to look for m4 macros, say an up-to-date version of the xorg-util macros. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Cc: Daniel Stone <daniel@fooishbar.org>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 46f7a5f..6ecb8f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xkbcommon.pc