diff options
author | Jakub Grajciar <Jakub.Grajciar@pantheon.tech> | 2017-11-20 13:11:50 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-11-21 14:34:57 +0000 |
commit | c62a63dd05bd815cd9ea399140cb6fc50a584132 (patch) | |
tree | ccde0c4281be5a5b25ed908ec20be26cdd7f2cfa /extras/libmemif/configure.ac | |
parent | bd846cdc5d99260274a02e9bb474211ef32d031c (diff) |
libmemif: unit test update, continue configure if check module missing
Change-Id: I11ef4e7dcf1759eb3545be5db2a7196d1217a6dd
Signed-off-by: Jakub Grajciar <Jakub.Grajciar@pantheon.tech>
Diffstat (limited to 'extras/libmemif/configure.ac')
-rw-r--r-- | extras/libmemif/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/libmemif/configure.ac b/extras/libmemif/configure.ac index 30fd3ddacdc..323e1134104 100644 --- a/extras/libmemif/configure.ac +++ b/extras/libmemif/configure.ac @@ -4,7 +4,8 @@ AM_INIT_AUTOMAKE AM_SILENT_RULES([yes]) AC_PREFIX_DEFAULT([/usr]) -PKG_CHECK_MODULES([CHECK], [check]) +PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=1], [HAVE_CHECK=0]) +AM_CONDITIONAL([USE_CHECK],[test "$HAVE_CHECK" -eq 1]) AC_PROG_CC |