]> sigrok.org Git - libsigrok.git/blobdiff - configure.ac
Build: Add private copy of C++11 check macro
[libsigrok.git] / configure.ac
index f7b2e48909967dbbf8265af227b7e3135fc42c43..7b3b24b1923e92c52c27bb10139c3de75535df78 100644 (file)
@@ -252,9 +252,7 @@ AC_ARG_ENABLE([java],
 sr_cxx_missing=
 
 # Check if the C++ compiler supports the C++11 standard.
-m4_ifdef([AX_CXX_COMPILE_STDCXX_11],
-       [AX_CXX_COMPILE_STDCXX_11(, [optional])],
-       [m4_warn([unsupported], [Missing macro AX_CXX_COMPILE_STDCXX_11: no C++11 check possible])])
+AX_CXX_COMPILE_STDCXX_11(, [optional])
 AS_IF([test "x$HAVE_CXX11" != x1],
        [SR_APPEND([sr_cxx_missing], [', '], ['C++11'])])