From dc9dadac186ee1778382beb44b8d9effffe18fd5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Dec 2004 11:01:39 +0000 Subject: [PATCH] include in tests for multimon.h, ddraw.h and dshow.h as otherwise they don't risk to work (closes 1083808) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/configure.in b/configure.in index ae5b076c90..445de1655b 100644 --- a/configure.in +++ b/configure.in @@ -3201,10 +3201,12 @@ dnl --------------------------------------------------------------------------- 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]) - ] ) + AC_CHECK_HEADERS([multimon.h ddraw.h], [], + [ + wxUSE_DISPLAY="no" + AC_MSG_WARN([ddraw.h or multimon.h not found; disabling wxDisplay]) + ], + [#include ]) fi fi @@ -3218,17 +3220,19 @@ dnl --------------------------------------------------------------------------- dnl DirectShow MSW dnl --------------------------------------------------------------------------- wxUSE_DIRECTSHOW="yes" - AC_CHECK_HEADERS([dshow.h], [], [ - wxUSE_DIRECTSHOW="no" - AC_MSG_WARN([DirectShow not installed; consider installing the DirectX7 SDK or higher]) - ] ) + AC_CHECK_HEADERS([dshow.h], [], + [ + wxUSE_DIRECTSHOW="no" + AC_MSG_WARN([DirectShow not installed; consider installing the DirectX7 SDK or higher]) + ], + [#include ]) if test "$wxUSE_DIRECTSHOW" = "yes"; then - AC_DEFINE(wxUSE_DIRECTSHOW) - LIBS="$LIBS -lstrmiids" + AC_DEFINE(wxUSE_DIRECTSHOW) + LIBS="$LIBS -lstrmiids" fi fi - + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer" AC_DEFINE(wxUSE_MEDIACTRL) fi