From: Michael Wetherell Date: Tue, 22 Aug 2006 21:47:09 +0000 (+0000) Subject: Revert last commit. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0f5ba0fb0c74c568e3f1f4ee22d4655231f4041a?ds=inline Revert last commit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/acinclude.m4 b/acinclude.m4 index d6c0566e8f..dcd3a5ecf7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 ---------------------------------------------------------------------------