Define HAVE_BOOLEAN when the Windows headers declare 'boolean' to avoid a

conflict with the jpeg headers which will otherwise also declare it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-09-04 17:57:17 +00:00
parent 4db9f933ab
commit 5f41d1bf1d
2 changed files with 78 additions and 6 deletions

View File

@@ -2830,6 +2830,12 @@ if test "$USE_WIN32" = 1 ; then
dnl install Win32-specific files in "make install"
WIN32INSTALL=win32install
dnl the jpeg header jmorecfg.h delcares the type boolean, which conflicts
dnl on systems which declare it in the system headers. If HAVE_BOOLEAN is
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>])
fi
if test "$wxUSE_GUI" = "yes"; then