]> sigrok.org Git - libsigrok.git/commitdiff
configure: Avoid bashism breaking the C++ bindings
authorDaniel Elstner <redacted>
Sat, 31 Jan 2015 20:07:28 +0000 (21:07 +0100)
committerDaniel Elstner <redacted>
Sat, 31 Jan 2015 20:09:01 +0000 (21:09 +0100)
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>],