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:
2
configure
vendored
2
configure
vendored
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user