From: Vadim Zeitlin Date: Mon, 30 Sep 2013 23:48:52 +0000 (+0000) Subject: Don't check for tr1/type_traits in configure if type_traits was found. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d0146438fa2127faf54bc692ae4b36f8f992e63b Don't check for tr1/type_traits in configure if type_traits was found. This is just an optimization: don't waste time checking for tr1 header if we already found the standard one that we're going to use if it's available. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index e5e08e5020..fb6bd0dd31 100755 --- a/configure +++ b/configure @@ -21894,7 +21894,7 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF - + break fi done diff --git a/configure.in b/configure.in index 48442ab925..4ae4fc3e65 100644 --- a/configure.in +++ b/configure.in @@ -2104,7 +2104,7 @@ if test "$wxUSE_STL" = "yes"; then fi fi -AC_CHECK_HEADERS([type_traits tr1/type_traits]) +AC_CHECK_HEADERS([type_traits tr1/type_traits], break) dnl check for atomic operations builtins for wx/atomic.h: WX_ATOMIC_BUILTINS