X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=configure.ac;h=10213a74835f63c88669a712d00e21bdd00f5fe9;hp=9527379c98d9b0f44689d2406f51f45cd9798eeb;hb=3a1501e9e07a93a9b157fcce53aa070c5a0bf3d8;hpb=888bbe38a50a1e3224dcef68686a00e2754e8b47 diff --git a/configure.ac b/configure.ac index 9527379..10213a7 100644 --- a/configure.ac +++ b/configure.ac @@ -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).