poldek: poldek/configure.in - check of check library (tommat)

mis mis at pld-linux.org
Sat Jun 16 14:57:42 CEST 2007


Author: mis                          Date: Sat Jun 16 12:57:42 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- check of check library (tommat)

---- Files affected:
poldek/poldek:
   configure.in (1.127 -> 1.128) 

---- Diffs:

================================================================
Index: poldek/poldek/configure.in
diff -u poldek/poldek/configure.in:1.127 poldek/poldek/configure.in:1.128
--- poldek/poldek/configure.in:1.127	Mon Jan  8 22:12:11 2007
+++ poldek/poldek/configure.in	Sat Jun 16 14:57:37 2007
@@ -58,10 +58,7 @@
 AM_CFLAGS="-Wall -W"
 AC_SUBST(AM_CFLAGS)
 
-AM_PATH_CHECK(,[have_check="yes"],
-               [AC_MSG_WARN([check library not found; cannot run unit tests]) 
-	       have_check="no"])
-
+PKG_CHECK_MODULES(CHECK, check >= 0.9.4, have_check=yes, have_check=no)
 
 dnl Process features.
 AC_CHECK_LIB(tinfo, tigetstr,,[
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/configure.in?r1=1.127&r2=1.128&f=u



More information about the pld-cvs-commit mailing list