* [PATCH i-g-t] build: Make autoreconf honour ACLOCAL_FLAGS
@ 2012-07-25 15:04 Damien Lespiau
2012-07-25 16:00 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Damien Lespiau @ 2012-07-25 15:04 UTC (permalink / raw)
To: intel-gfx
From: Damien Lespiau <damien.lespiau@intel.com>
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 <damien.lespiau@intel.com>
---
Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 6cd724c..5ea0fd8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,8 @@
# 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 = lib man tools scripts tests benchmarks demos
if BUILD_SHADER_DEBUGGER
--
1.7.7.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH i-g-t] build: Make autoreconf honour ACLOCAL_FLAGS
2012-07-25 15:04 [PATCH i-g-t] build: Make autoreconf honour ACLOCAL_FLAGS Damien Lespiau
@ 2012-07-25 16:00 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2012-07-25 16:00 UTC (permalink / raw)
To: Damien Lespiau; +Cc: intel-gfx
On Wed, Jul 25, 2012 at 04:04:32PM +0100, Damien Lespiau wrote:
> From: Damien Lespiau <damien.lespiau@intel.com>
>
> 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 <damien.lespiau@intel.com>
Applied, thanks.
-Daniel
> ---
> Makefile.am | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 6cd724c..5ea0fd8 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -19,6 +19,8 @@
> # 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 = lib man tools scripts tests benchmarks demos
>
> if BUILD_SHADER_DEBUGGER
> --
> 1.7.7.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-25 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25 15:04 [PATCH i-g-t] build: Make autoreconf honour ACLOCAL_FLAGS Damien Lespiau
2012-07-25 16:00 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).