summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-25 16:59:03 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-25 16:59:56 -0700
commit94a86fa51a931f0059ea17728f857ec92cec5b16 (patch)
tree2ab6e01af6d111bd77849bfdbdf2fc7d5a6ce3d9
parent09a235af0f216052d3101b153c18be1fa75abf15 (diff)
Fix UXA build for distcheckxf86-video-intel-2.4.97.0
Was missing proper path info in CFLAGS.
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ab1936d0..86bb80fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,6 +183,8 @@ else
fi
AC_SUBST([XMODES_CFLAGS])
+UXA_CFLAGS='-I$(top_srcdir)/uxa'
+AC_SUBST([UXA_CFLAGS])
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
diff --git a/src/Makefile.am b/src/Makefile.am
index 1b1b67c8..97feea41 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,7 +31,7 @@ SUBDIRS = xvmc bios_reader ch7017 ch7xxx ivch sil164 tfp410 $(REGDUMPER)
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
AM_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI_CFLAGS@ \
- @PCIACCESS_CFLAGS@ -I../uxa \
+ @PCIACCESS_CFLAGS@ @UXA_CFLAGS@ \
@XMODES_CFLAGS@ -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -DI830_USE_UXA
intel_drv_la_LTLIBRARIES = intel_drv.la