[libwnck] build: Add ${ACLOCAL_FLAGS} to ACLOCAL_AMFLAGS



commit dae2284998cdf1aba6c921403ec612ed282ea564
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Feb 4 12:01:06 2011 +0100

    build: Add ${ACLOCAL_FLAGS} to ACLOCAL_AMFLAGS
    
    This is used by gnome-autogen.sh, and we need it when aclocal.m4 is
    to be rebuilt by make, to avoid losing some aclocal paths.
    
    Also, don't set ACLOCAL in configure.

 Makefile.am  |    2 +-
 configure.ac |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index e6bff93..e74a4a4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = libwnck doc po
 
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
 
diff --git a/configure.ac b/configure.ac
index 533af62..b821f8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,9 +172,6 @@ fi
 
 AC_SUBST(GDK_PIXBUF_CSOURCE)
 
-dnl Honor ACLOCAL_FLAGS for --enable-maintainer-mode
-ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
-
 ##################################################
 # Checks for gtk-doc and docbook-tools
 ##################################################



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]