Restore AC_CHECK_HEADERS in preference to AC_CHECK_HEADER so that the HAVE_*
defines will be generated when needed. This fixes breakage caused by 44703. Only usage where HAVE_* macro is in setup.h.in or was used by configure itself (e.g. HAVE_X11_XLIB_H) is changed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
580e09f7c7
commit
1f7e12cc26
3 changed files with 167 additions and 77 deletions
|
|
@ -132,7 +132,7 @@ AC_DEFUN([WX_CPP_NEW_HEADERS],
|
|||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
AC_CHECK_HEADER(iostream,,, [ ])
|
||||
AC_CHECK_HEADERS([iostream],,, [ ])
|
||||
|
||||
if test "$ac_cv_header_iostream" = "yes" ; then
|
||||
ifelse([$1], , :, [$1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue