Correct disabling of c++11 testing
C++11 testing was not being turned off when the C++ compiler check for C++11 features failed and 'configure --enable-cpp11-testing' was used
This commit is contained in:
parent
13158bda9a
commit
f14c712001
2 changed files with 2 additions and 2 deletions
|
|
@ -677,7 +677,7 @@ ifndef SKIP_CPP_STD_CASES
|
|||
CPP_TEST_CASES += ${CPP_STD_TEST_CASES}
|
||||
endif
|
||||
|
||||
ifneq (,$(HAVE_CXX11))
|
||||
ifeq (1,$(HAVE_CXX11))
|
||||
CPP_TEST_CASES += $(CPP11_TEST_CASES)
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -345,6 +345,7 @@ if test x"$enable_cpp11_testing" = xyes; then
|
|||
CXX=$CXX_SAVED
|
||||
CXXCPP=$CXXCPP_SAVED
|
||||
fi
|
||||
AC_SUBST(HAVE_CXX11)
|
||||
|
||||
# On darwin 10.7,10.8,10.9 using clang++, need to ensure using
|
||||
# libc++ for tests and examples to run under mono. May affect
|
||||
|
|
@ -401,7 +402,6 @@ AC_SUBST(TRYLINKINGWITHCXX)
|
|||
AC_SUBST(RPATH)
|
||||
AC_SUBST(PLATCFLAGS)
|
||||
AC_SUBST(PLATCXXFLAGS)
|
||||
AC_SUBST(HAVE_CXX11)
|
||||
AC_SUBST(LINKFORSHARED)
|
||||
|
||||
# This variation is needed on OS-X because there is no (apparent) consistency in shared library naming.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue