[PATCH xf86-video-sis] Convert EXA support preprocessor macro to USE_EXA

Kevin Brace kevinbrace at gmx.com
Tue Dec 18 00:55:07 UTC 2018


All the other DDXs do it this way.

Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 configure.ac | 2 +-
 src/sis.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d74e197..1caa528 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,7 +121,7 @@ AM_CONDITIONAL(XAA, test "x$XAA" = xyes)
 AC_MSG_RESULT([$XAA])
 
 # technically this should be a configure flag.  meh.
-AC_DEFINE(XF86EXA, 1, [Build support for Exa])
+AC_DEFINE(USE_EXA, 1, [Build support for EXA])
 
 SAVE_CPPFLAGS="$CPPFLAGS"
 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
diff --git a/src/sis.h b/src/sis.h
index 2b764cb..b30f7a8 100644
--- a/src/sis.h
+++ b/src/sis.h
@@ -230,7 +230,7 @@
 
 #ifdef SISVRAMQ
 #ifdef XORG_VERSION_CURRENT
-#if defined(SIS_HAVE_EXA) || (defined(XF86EXA) && (XF86EXA != 0))
+#if defined(SIS_HAVE_EXA) || (defined(USE_EXA) && (USE_EXA != 0))
 #if 1
 #define SIS_USE_EXA		/* Include code for EXA */
 #endif
-- 
2.7.4



More information about the xorg-devel mailing list