From cd0fdbb7d50d2fae6b6d8b9099aa4a43105538e3 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 13 Feb 2009 14:14:43 -0500 Subject: [PATCH] Honor ACLOCAL_FLAGS in autogen.sh autoreconf doesn't pay attention to the ACLOCAL_FLAGS variable that jhbuild (for example) sets. Pass those flags into autoreconf by setting ACLOCAL appropriately. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 4787182..a6ab478 100755 --- a/autogen.sh +++ b/autogen.sh @@ -33,7 +33,7 @@ if test -z $AUTORECONF; then echo "*** No autoreconf found ***" exit 1 else - autoreconf -v --install || exit $? + ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $? fi ./configure "$@" && echo "Now type 'make' to compile $PROJECT." -- 2.7.4