build: Make autoreconf honour ACLOCAL_FLAGS
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Jul 2012 15:04:32 +0000 (16:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 15:59:58 +0000 (17:59 +0200)
commit3b0f80308a033633be6b903fa2a55128dfd99339
treeb2e6e54f15a3cc3435ce2431b24b1bc946bfb794
parentefa5e355ac371d749cf505b952b900d05f25474c
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>
Makefile.am