Add configure test for presence/compilabilty of multimon.h and display.h
header whcih are required for dsrc/msw/display.cpp - but aren't included in mingw. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f29cfd7775
commit
01cb68df7c
14
configure.in
14
configure.in
@ -3075,9 +3075,13 @@ if test "$wxUSE_ZLIB" = "builtin" ; then
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Xinerama (for unix wxDisplay) - Brian Victor
|
||||
dnl wxDisplay Sanity checks
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
if test "$wxUSE_DISPLAY" = "yes"; then
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Xinerama (for unix ) - Brian Victor
|
||||
dnl ---------------------------------------------------------------------------
|
||||
if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
|
||||
AC_MSG_CHECKING([for Xinerama])
|
||||
WX_PATH_FIND_LIBRARIES([$SEARCH_LIB],Xinerama)
|
||||
@ -3112,6 +3116,14 @@ if test "$wxUSE_DISPLAY" = "yes"; then
|
||||
AC_MSG_WARN("*** Xinerama not found; disabling wxDisplay")
|
||||
wxUSE_DISPLAY="no"
|
||||
fi
|
||||
elif test "$wxUSE_MSW" = 1; then
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl DirectDraw / Multimon for MSW
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_CHECK_HEADERS(multimon.h ddraw.h,[], [
|
||||
wxUSE_DISPLAY="no"
|
||||
AC_MSG_WARN("*** ddraw.h or multimon.h not found; disabling wxDisplay")
|
||||
] )
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user