diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5bcb5a11a2e..5265cf6b1ea 100644 --- a/configure.ac +++ b/configure.ac @@ -735,6 +735,10 @@ gnu*) dnl Disable by default on GNU/Hurd driglx_direct_default="no" ;; +cygwin*) + dnl Disable by default on cygwin + driglx_direct_default="no" + ;; *) driglx_direct_default="yes" ;; @@ -1022,6 +1026,16 @@ if test "$mesa_driver" = dri -o "$mesa_driver" = no; then DEFINES="$DEFINES -DGLX_DIRECT_RENDERING" fi ;; + cygwin*) + DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER" + DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING" + if test "x$driglx_direct" = xyes; then + DEFINES="$DEFINES -DGLX_DIRECT_RENDERING" + fi + if test "x$DRI_DIRS" = "xyes"; then + DRI_DIRS="swrast" + fi + ;; esac # default drivers |