summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'extras/libmemif/configure.ac')
-rw-r--r--extras/libmemif/configure.ac3
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