]> sigrok.org Git - libsigrok.git/blobdiff - configure.ac
configure: Avoid bashism breaking the C++ bindings
[libsigrok.git] / configure.ac
index 7488a890198fbaf3751bdb856a7cc3cb630d675f..39766c6bda5015c6d7c0b9f9a415605f6b8c1a30 100644 (file)
@@ -396,7 +396,7 @@ PKG_CHECK_MODULES([glibmm], [glibmm-2.4 >= 2.32.0],
        [BINDINGS_CXX="no"; cxx_msg="glibmm required"])
 
 # C++ bindings want stoi and stod.
-if test "x$BINDINGS_CXX" == "xyes"; then
+if test "x$BINDINGS_CXX" = "xyes"; then
        AC_LANG_PUSH([C++])
        AC_MSG_CHECKING([for stoi and stod])
        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <string>],