more AC_CHECK_HEADERS fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-07-20 18:27:35 +00:00
parent 1f7e12cc26
commit be2ad872dc
2 changed files with 47 additions and 27 deletions

View File

@@ -2560,7 +2560,7 @@ WIDGET_SET=
dnl are we building for a win32 target environment?
dnl If so, setup common stuff needed for both GUI and Base libs.
if test "$USE_WIN32" = 1 ; then
AC_CHECK_HEADER(w32api.h,,, [ ])
AC_CHECK_HEADERS(w32api.h,,, [ ])
AC_CHECK_HEADER(windows.h,,
[
AC_MSG_ERROR(please set CFLAGS to contain the location of windows.h)
@@ -4303,7 +4303,7 @@ if test "$wxUSE_UNICODE" = yes; then
#include <wchar.h>"
case "${host}" in
*-*-solaris2* )
AC_CHECK_HEADER(widec.h,,, [AC_INCLUDES_DEFAULT()])
AC_CHECK_HEADERS(widec.h,,, [AC_INCLUDES_DEFAULT()])
if test "$ac_cv_header_widec_h" = "yes"; then
wchar_headers="$wchar_headers
#include <widec.h>"