diff mbox

[1/6] Add config.h macro HAVE_NOUVEAU

Message ID 1267283082-21586-1-git-send-email-koriakin@0x04.net (mailing list archive)
State New, archived
Headers show

Commit Message

Marcin Kościelnicki Feb. 27, 2010, 3:04 p.m. UTC
None
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index ef7700f..40634c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,9 @@  if test "x$VMWGFX" = xyes; then
 fi
 
 AM_CONDITIONAL(HAVE_NOUVEAU, [test "x$NOUVEAU" = xyes])
+if test "x$NOUVEAU" = xyes; then
+	AC_DEFINE(HAVE_NOUVEAU, 1, [Have nouveau (nvidia) support])
+fi
 
 AM_CONDITIONAL(HAVE_RADEON, [test "x$RADEON" = xyes])