include <windows.h> 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
This commit is contained in:
parent
3ea9aa8f0e
commit
dc9dadac18
26
configure.in
26
configure.in
@ -3201,10 +3201,12 @@ dnl ---------------------------------------------------------------------------
|
|||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl DirectDraw / Multimon for MSW
|
dnl DirectDraw / Multimon for MSW
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
AC_CHECK_HEADERS([multimon.h ddraw.h], [], [
|
AC_CHECK_HEADERS([multimon.h ddraw.h], [],
|
||||||
wxUSE_DISPLAY="no"
|
[
|
||||||
AC_MSG_WARN([ddraw.h or multimon.h not found; disabling wxDisplay])
|
wxUSE_DISPLAY="no"
|
||||||
] )
|
AC_MSG_WARN([ddraw.h or multimon.h not found; disabling wxDisplay])
|
||||||
|
],
|
||||||
|
[#include <windows.h>])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -3218,17 +3220,19 @@ dnl ---------------------------------------------------------------------------
|
|||||||
dnl DirectShow MSW
|
dnl DirectShow MSW
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
wxUSE_DIRECTSHOW="yes"
|
wxUSE_DIRECTSHOW="yes"
|
||||||
AC_CHECK_HEADERS([dshow.h], [], [
|
AC_CHECK_HEADERS([dshow.h], [],
|
||||||
wxUSE_DIRECTSHOW="no"
|
[
|
||||||
AC_MSG_WARN([DirectShow not installed; consider installing the DirectX7 SDK or higher])
|
wxUSE_DIRECTSHOW="no"
|
||||||
] )
|
AC_MSG_WARN([DirectShow not installed; consider installing the DirectX7 SDK or higher])
|
||||||
|
],
|
||||||
|
[#include <windows.h>])
|
||||||
|
|
||||||
if test "$wxUSE_DIRECTSHOW" = "yes"; then
|
if test "$wxUSE_DIRECTSHOW" = "yes"; then
|
||||||
AC_DEFINE(wxUSE_DIRECTSHOW)
|
AC_DEFINE(wxUSE_DIRECTSHOW)
|
||||||
LIBS="$LIBS -lstrmiids"
|
LIBS="$LIBS -lstrmiids"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
|
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
|
||||||
AC_DEFINE(wxUSE_MEDIACTRL)
|
AC_DEFINE(wxUSE_MEDIACTRL)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user