Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 0f39e4a976eddf8e03ac8c3eca77869c > files > 2

poldek-0.20-55563mdv2010.1.src.rpm

diff -Naur poldek-0.20/configure.in poldek-0.20-fix-autotools-check/configure.in
--- poldek-0.20/configure.in	2005-10-28 17:32:26.000000000 +0200
+++ poldek-0.20-fix-autotools-check/configure.in	2009-03-03 20:04:03.000000000 +0100
@@ -58,10 +58,10 @@
 AM_CFLAGS="-Wall -W"
 AC_SUBST(AM_CFLAGS)
 
-AM_PATH_CHECK(,[have_check="yes"],
+PKG_CHECK_MODULES(,[check],[have_check="yes"],
                [AC_MSG_WARN([check library not found; cannot run unit tests]) 
 	       have_check="no"])
-
+m4_pattern_allow([^_PKG_ERRORS$]) 
 
 dnl Process features.
 AC_CHECK_LIB(tinfo, tigetstr,,[
diff -Naur poldek-0.20/Makefile.am poldek-0.20-fix-autotools-check/Makefile.am
--- poldek-0.20/Makefile.am	2005-10-28 18:06:59.000000000 +0200
+++ poldek-0.20-fix-autotools-check/Makefile.am	2009-03-03 20:04:13.000000000 +0100
@@ -1,6 +1,6 @@
 # $Id: Makefile.am,v 1.91 2005/10/28 16:06:33 mis Exp $
 
-AUTOMAKE_OPTIONS = 
+AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 
 TRURL_DIR = @TRURL_DIR@