[librest] build: Add ${ACLOCAL_FLAGS} to ACLOCAL_AMFLAGS
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest] build: Add ${ACLOCAL_FLAGS} to ACLOCAL_AMFLAGS
- Date: Mon, 5 Sep 2011 11:27:00 +0000 (UTC)
commit fdd2fcf6721eda9c753ff05e20226fd4ecf6cca0
Author: Damien Lespiau <damien lespiau intel com>
Date: Sat Sep 3 16:54:56 2011 +0100
build: Add ${ACLOCAL_FLAGS} to ACLOCAL_AMFLAGS
ACLOCAL_FLAGS allow you to define extra directories to look for m4 macros.
autoreconf parses Makefile.am to add ACLOCAL_AMFLAGS when invoking aclocal.
Adding ${ACLOCAL_FLAGS} to ACLOCAL_AMFLAGS make autoreconf grab flags from
the environment.
librest already had something to deal with it in autogen.sh, however having
it in autogen.sh does not help when regenerating the configure script
automatically (as automake now has rules to rebuild configure whenever
configure.ac changes, ie by-passing autogen.sh)
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 928587e..4dd9d8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,7 +10,7 @@ CLEANFILES = $(pkgconfig_DATA)
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-ACLOCAL_AMFLAGS = -I build
+ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
if GCOV_ENABLED
cov-reset:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]