X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa10ccc2e23583f12b6c8af01053804246b9120a..0cd6e696320e17bd5895abeb7a623a3580c5e1ee:/configure.in diff --git a/configure.in b/configure.in index ea464910a8..c4df73621d 100644 --- a/configure.in +++ b/configure.in @@ -1144,14 +1144,6 @@ dnl Path separator; ':' for unix, ';' for OS/2 case "${host}" in *-pc-os2_emx | *-pc-os2-emx ) PATH_IFS=';' - dnl Handle OMF support - if test "$wxUSE_OMF" = "yes"; then - AR=emxomfar - RANLIB=: - LDFLAGS="-Zomf $LDFLAGS" - CFLAGS="-Zomf $CFLAGS" - CXXFLAGS="-Zomf $CXXFLAGS" - fi ;; *) PATH_IFS=':' @@ -3083,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) @@ -3117,9 +3113,17 @@ if test "$wxUSE_DISPLAY" = "yes"; then else AC_MSG_RESULT([no]) - AC_MSG_WARN("*** Xinerama not found; disabling wxDisplay") + 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