]> sigrok.org Git - libsigrok.git/blobdiff - configure.ac
configure: Deal with missing macro a bit better.
[libsigrok.git] / configure.ac
index eac88f1f61b216767663a02cecde711fb1124598..db6f644e4ddce3cd72d8ec8bcf9c476d6b18c491 100644 (file)
@@ -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"