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
This commit is contained in:
Vadim Zeitlin
2013-09-30 23:48:52 +00:00
parent 534f87c6c4
commit d0146438fa
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -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

View File

@@ -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