From 387ec961f2a5e791fd010906a5115cf8393471f3 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 26 Jun 2008 23:34:51 +0100 Subject: [PATCH] add --with-gallium-dir to specify location of gallium tree --- hw/xfree86/drivers/modesetting/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/drivers/modesetting/Makefile.am b/hw/xfree86/drivers/modesetting/Makefile.am index a182d4423..e3cc3cce7 100644 --- a/hw/xfree86/drivers/modesetting/Makefile.am +++ b/hw/xfree86/drivers/modesetting/Makefile.am @@ -26,7 +26,8 @@ SUBDIRS = # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. AM_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRI_CFLAGS@ @PCIACCESS_CFLAGS@ \ - @XMODES_CFLAGS@ + -I@GALLIUM_DIR@/src/gallium/include \ + -I@GALLIUM_DIR@/src/gallium/auxiliary modesetting_drv_la_LTLIBRARIES = modesetting_drv.la modesetting_drv_la_LDFLAGS = -module -avoid-version -ldrm