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