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.
# 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"