diff options
author | Chris Ball <cjb@laptop.org> | 2009-02-24 11:46:20 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2009-02-24 11:46:20 -0500 |
commit | c5c7f60b577cc86a670bedea2bd70bd05d5cd128 (patch) | |
tree | 3128e704a3c0acddf2f2aa113d8be2a2c3e68b17 | |
parent | da07a540db2078e00e48897b52a5a1f6d283cfeb (diff) |
Build fix: set EXA_DRIVER_KNOWN_MAJOR=3.
We don't use {Prepare,Finish}Access, and:
/home/cjb/xorg-build/include/xorg/exa.h:45:2: error: #error Make sure
this EXA driver either does not have Prepare/FinishAccess hooks or that
they can handle EXA_PREPARE_AUX*, and #define EXA_DRIVER_KNOWN_MAJOR 3
before including exa.h
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 729399d..8602eba 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,9 @@ if test "x$XSERVER_LIBPCIACCESS" = xyes; then XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS" fi +# Required by exa.h +AMD_CFLAGS="$AMD_CFLAGS -DEXA_DRIVER_KNOWN_MAJOR=3" + AC_SUBST([XORG_CFLAGS]) AC_SUBST([moduledir]) AC_SUBST([AMD_CFLAGS]) |