OSDN Git Service

Loosen requirement for the 'check' library.
authorAnant Narayanan <anant@kix.in>
Thu, 14 Dec 2006 16:30:59 +0000 (22:00 +0530)
committerAnant Narayanan <anant@kix.in>
Thu, 14 Dec 2006 16:30:59 +0000 (22:00 +0530)
configure.ac

index 5dc4ebc..6d52fbc 100644 (file)
@@ -433,8 +433,11 @@ AC_CHECK_HEADER([execinfo.h], [
 ])
 
 dnl check for "check", unit testing library/header
-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
-AM_CONDITIONAL(HAVE_CHECK, test "x$CHECK_LIBS" != "x")
+PKG_CHECK_MODULES([CHECK], [check >= 0.9.3], have_check=yes, have_check=no)
+if test "$have_scintilla" != "yes"; then
+    AC_MSG_RESULT([Unable to locate check version 0.9.3 or higher: not building])
+fi
+AM_CONDITIONAL([HAVE_CHECK], [test "$have_check" = yes])
 
 dnl Checks for typedefs, structures and compiler characteristics.
 AC_PROG_LD