From eea535b7e2a35ec4dfa50550b674d4212676d2ee Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 18 Jan 2013 14:13:06 +0000 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 Signed-off-by: Chris Wilson --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index b3d37b27..5001674e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,6 +18,7 @@ # 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 = man