Fix C++11 check when --with-cxx=11 is used

AX_CXX_COMPILE_STDCXX() macro does not define HAVE_CXX11 when C++11 is
required (and not optional, as with --enable-cxx11), so the build was broken
when --with-cxx=11 was used under OS X as -stdlib=libc++ was not used.

Fix this and also leave only a single AX_CXX_COMPILE_STDCXX() check for C++11,
this saves us ~1000 lines in configure.
This commit is contained in:
Vadim Zeitlin
2016-03-20 16:56:50 +01:00
parent 0777bf6b92
commit 608cee6965
2 changed files with 989 additions and 1954 deletions

2931
configure vendored

File diff suppressed because it is too large Load Diff