Add config.h macro HAVE_NOUVEAU
diff --git a/configure.ac b/configure.ac
index ef7700f..40634c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,9 @@
 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])