diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-06-14 01:54:11 -0400 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-06-15 10:50:09 +0200 |
commit | 4e891b94cae1b3e83155721476137a900fe242a6 (patch) | |
tree | e1131ca505d50bcb5d243dc0cbc2476ac223c58a /configure.ac | |
parent | 3b776f38b9fe2903fd7a4af9d9ca9edd159cea0b (diff) | |
download | libsigrokdecode-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.ac | 3 |
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). |