A better compile fix for Wine (which lacks pbt.h).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-09-04 18:33:31 +00:00
parent 5f41d1bf1d
commit dcfd4ac412
3 changed files with 159 additions and 1 deletions

View File

@@ -2836,6 +2836,9 @@ if test "$USE_WIN32" = 1 ; then
dnl defined then jmorecfg.h doesn't declare it, so checking for it here
dnl solves the problem.
AC_CHECK_TYPES(boolean, [], [], [#include <windows.h>])
dnl pbt.h is missing on Wine at least
AC_CHECK_HEADERS(pbt.h, [], [AC_DEFINE(NEED_PBT_H)])
fi
if test "$wxUSE_GUI" = "yes"; then