From: Yaakov Selkowitz <yselkow...@users.sourceforge.net>

Several extensions are not supported by XWin, some of which are enabled
by default in configure.  We forcefully disable these early on so that
configure will succeed without arguments and without the corresponding
proto installed.

Signed-off-by: Yaakov Selkowitz <yselkow...@users.sourceforge.net>
---
 configure.ac |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 55e9156..6a2afd1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -721,8 +721,16 @@ XORG_CHECK_LINUXDOC
 dnl Handle installing libxf86config
 AM_CONDITIONAL(INSTALL_LIBXF86CONFIG, [test "x$INSTALL_LIBXF86CONFIG" = xyes])
 
-dnl XQuartz DDX Detection... Yes, it's ugly to have it here... but we need to 
handle this early on
+dnl DDX Detection... Yes, it's ugly to have it here... but we need to
+dnl handle this early on so that we don't require unsupported extensions
 case $host_os in
+       cygwin*)
+               DGA=no
+               DRI2=no
+               XF86VIDMODE=no
+               XSELINUX=no
+               XV=no
+               ;;
        darwin*)
                DRI2=no
 
@@ -1882,10 +1890,6 @@ if test "x$XWIN" = xyes; then
 
        AC_DEFINE(DDXOSVERRORF, 1, [Use OsVendorVErrorF])
        AC_DEFINE(DDXBEFORERESET, 1, [Use ddxBeforeReset ])
-       if test "x$XF86VIDMODE" = xyes; then
-               AC_MSG_NOTICE([Disabling XF86VidMode extension])
-               XF86VIDMODE=no
-       fi
 fi
 AM_CONDITIONAL(XWIN, [test "x$XWIN" = xyes])
 AM_CONDITIONAL(XWIN_MULTIWINDOW, [test "x$XWIN" = xyes])
-- 
1.6.6.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to