configure: Deal with missing macro a bit better.
The AX_CXX_COMPILE_STDCXX_11 macro is found in the autoconf-archive package. If this is not installed, invoking the macro spits out an error message that makes it look like a syntax error. This wraps it in a check.
This commit is contained in:
parent
f0f1d90d9c
commit
f8158d5655
|
@ -173,7 +173,8 @@ AC_ARG_ENABLE(java,
|
|||
|
||||
# Check if the C++ compiler supports the C++11 standard.
|
||||
|
||||
AX_CXX_COMPILE_STDCXX_11(,[optional])
|
||||
m4_ifdef([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX_11(,[optional])],
|
||||
[AC_MSG_NOTICE([Missing macro m4_toupper(aX_CXX_COMPILE_STDCXX_11), no C++11 check])])
|
||||
|
||||
if test "x$HAVE_CXX11" != "x1"; then
|
||||
BINDINGS_CXX="no"
|
||||
|
|
Loading…
Reference in New Issue