diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2011-09-03 16:54:56 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2011-09-05 12:14:35 +0100 |
commit | fdd2fcf6721eda9c753ff05e20226fd4ecf6cca0 (patch) | |
tree | 50e8b18340660d047d8d3d38ee5e22165b6f7db8 | |
parent | 177bb97617957384047ceca6606126867b6b6a96 (diff) | |
download | librest-fdd2fcf6721eda9c753ff05e20226fd4ecf6cca0.tar.gz |
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)
-rw-r--r-- | 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: |