summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-06-14 01:54:11 -0400
committerBert Vermeulen <bert@biot.com>2014-06-15 10:50:09 +0200
commit4e891b94cae1b3e83155721476137a900fe242a6 (patch)
treee1131ca505d50bcb5d243dc0cbc2476ac223c58a /configure.ac
parent3b776f38b9fe2903fd7a4af9d9ca9edd159cea0b (diff)
downloadlibsigrokdecode-4e891b94cae1b3e83155721476137a900fe242a6.tar.gz
libsigrokdecode-4e891b94cae1b3e83155721476137a900fe242a6.zip
do not add check to common cflags/libs
Only the unittests use these flags, so don't go linking them in for the main library too.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
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).