]> sigrok.org Git - libsigrokdecode.git/blobdiff - configure.ac
tests/check_session.c: Fix compiler warning.
[libsigrokdecode.git] / configure.ac
index 9527379c98d9b0f44689d2406f51f45cd9798eeb..10213a74835f63c88669a712d00e21bdd00f5fe9 100644 (file)
@@ -125,7 +125,7 @@ AC_SUBST(MODNAME_PYTHON)
 # We also need to find the name of the python3 executable (for 'make install').
 # Some OSes call this python3, some call it python3.2, etc. etc.
 AC_CHECK_PROGS([PYTHON3], [python3.4 python3.3 python3.2 python3])
-if test "x$PYTHON3" == "x"; then
+if test "x$PYTHON3" = "x"; then
        AC_MSG_ERROR([cannot find python3 executable.])
 fi
 
@@ -134,8 +134,7 @@ AC_SEARCH_LIBS([pow], [m])
 
 # The Check unit testing framework is optional. Disable if not found.
 PKG_CHECK_MODULES([check], [check >= 0.9.4],
-       [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS";
-       LIBS="$LIBS $check_LIBS"], [have_check="no"])
+       [have_check="yes"], [have_check="no"])
 AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
 
 # libsigrok is optional (only used for the protocol decoder test framework).