]> git.saurik.com Git - wxWidgets.git/commitdiff
Revert last commit.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 22 Aug 2006 21:47:09 +0000 (21:47 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 22 Aug 2006 21:47:09 +0000 (21:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

acinclude.m4

index d6c0566e8ff8b482cc250a9d52dd6526dd53af2f..dcd3a5ecf74002a599ca28da3e104a124efdb353 100644 (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 ---------------------------------------------------------------------------