git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26682
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dnl or only the old <iostream.h> one - it may be generally assumed that if
dnl <iostream> exists, the other "new" headers (without .h) exist too.
dnl
dnl or only the old <iostream.h> one - it may be generally assumed that if
dnl <iostream> exists, the other "new" headers (without .h) exist too.
dnl
-dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false)
+dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false-or-cross-compiling)
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CPP_NEW_HEADERS],
[
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CPP_NEW_HEADERS],
[
+ if test "$cross_compiling" = "yes"; then
+ ifelse([$2], , :, [$2])
+ else
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
])
dnl ---------------------------------------------------------------------------
])
dnl ---------------------------------------------------------------------------