1
0
Fork 0

Fix some issues with the detection of the configure option

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4057
This commit is contained in:
Peter Veenstra 2017-10-10 14:03:42 +00:00
parent ee8d976ebc
commit 7391ee7c25

View file

@ -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