summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 825aa9c..436a241 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,10 @@ fi
AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
AM_CONDITIONAL(XMODES, test "x$XMODES" = xno)
+if test "x$XMODES" = xyes; then
+ XORG_CFLAGS="$XORG_CFLAGS -DHAVE_XMODES"
+fi
+
AC_SUBST([XORG_CFLAGS])
AC_SUBST([moduledir])