From: Daniel Elstner Date: Sat, 31 Jan 2015 20:07:28 +0000 (+0100) Subject: configure: Avoid bashism breaking the C++ bindings X-Git-Tag: libsigrok-0.4.0~663 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=1f501d72ef58861e27c6c7fcbb26780ad41010ef configure: Avoid bashism breaking the C++ bindings --- diff --git a/configure.ac b/configure.ac index 7488a890..39766c6b 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ],