From: Daniel Elstner Date: Fri, 21 Aug 2015 22:07:48 +0000 (+0200) Subject: Build: Do not omit first argument to m4_warn() X-Git-Tag: libsigrok-0.4.0~415 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=cb4d28efd1b261c36abc74eb9a117c5b322b481b;p=libsigrok.git Build: Do not omit first argument to m4_warn() It seems that contrary to what the documentation says, leaving the category argument to m4_warn() empty is not allowed. Use the "unsupported" category for lack of a better choice. --- diff --git a/configure.ac b/configure.ac index dc4771e7..173f3444 100644 --- a/configure.ac +++ b/configure.ac @@ -332,7 +332,7 @@ 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(, [[Missing macro AX_CXX_COMPILE_STDCXX_11: no C++11 check possible]])]) + [m4_warn([unsupported], [Missing macro AX_CXX_COMPILE_STDCXX_11: no C++11 check possible])]) test "x$HAVE_CXX11" = x1 || sr_cxx_missing="$sr_cxx_missing C++11" # The C++ bindings need glibmm. @@ -391,7 +391,7 @@ PKG_CHECK_EXISTS([pygobject-3.0 < 3.7.91], HAVE_PYMOD_SETUPTOOLS=yes m4_ifdef([AX_PYTHON_MODULE], [AX_PYTHON_MODULE([setuptools])], - [m4_warn(, [[Missing macro AX_PYTHON_MODULE: no setuptools check]])]) + [m4_warn([unsupported], [Missing macro AX_PYTHON_MODULE: no setuptools check])]) test "x$HAVE_PYMOD_SETUPTOOLS" = xyes \ || sr_python_missing="$sr_python_missing Setuptools"