From 7391ee7c25b95355cf27ee4a0a5c68471cda582c Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 10 Oct 2017 14:03:42 +0000 Subject: [PATCH] Fix some issues with the detection of the configure option Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4057 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9c0b807c..4800454b 100644 --- a/configure.ac +++ b/configure.ac @@ -437,10 +437,10 @@ esac fi AH_TEMPLATE(C_DDRAW,[Define to 1 to enable output=ddraw (Win32)]) -AC_ARG_ENABLE(ddraw,AC_HELP_STRING([--disable-ddraw],[Disable ddraw support]),enable_ddraw=yes) +AC_ARG_ENABLE(ddraw,AC_HELP_STRING([--disable-ddraw],[Disable ddraw support]),,enable_ddraw=yes) AC_CHECK_HEADER(ddraw.h, have_ddraw_h=yes , have_ddraw_h=no , ) AC_MSG_CHECKING(whether ddraw display output will be enabled) -if test x$enable_opengl = xyes; then +if test x$enable_ddraw = xyes; then case "$host" in *-*-cygwin* | *-*-mingw32*) if test x$have_ddraw_h = xyes ; then