Revert last commit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2006-08-22 21:47:09 +00:00
parent 5acfd58da0
commit 0f5ba0fb0c

View File

@ -227,44 +227,6 @@ AC_DEFUN([WX_CPP_EXPLICIT],
fi
])
dnl ---------------------------------------------------------------------------
dnl WX_CHECK_DECLS(TARGET...,
dnl HEADER,
dnl [ACTION-IF-FOUND],
dnl [ACTION-IF-NOT-FOUND])
dnl
dnl Checks that the functions, macros or variables listed in TARGET are
dnl declared when HEADER is included.
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CHECK_DECLS],
[
for target in $1
do
AC_CACHE_CHECK([for $target in $2],
[wx_cv_decl_$target],
[
AC_TRY_COMPILE([#include <$2>],
[
#ifndef $target
&$target;
#endif
],
[eval wx_cv_decl_$target=yes],
[eval wx_cv_decl_$target=no])
])
if eval test \$wx_cv_decl_$target = yes
then
AC_DEFINE_UNQUOTED([HAVE_`echo $target | tr 'a-z' 'A-Z'`])
$3
else
:
$4
fi
done
])
dnl ---------------------------------------------------------------------------
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
dnl ---------------------------------------------------------------------------