From 3b0f80308a033633be6b903fa2a55128dfd99339 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Wed, 25 Jul 2012 16:04:32 +0100 Subject: [PATCH] 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 --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 6cd724c..5ea0fd8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,8 @@ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} + SUBDIRS = lib man tools scripts tests benchmarks demos if BUILD_SHADER_DEBUGGER -- 2.7.4