From 94a86fa51a931f0059ea17728f857ec92cec5b16 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Mon, 25 Aug 2008 16:59:03 -0700 Subject: Fix UXA build for distcheck Was missing proper path info in CFLAGS. --- configure.ac | 2 ++ src/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3