# HG changeset patch # User Saleem Abdulrasool # Date 1211784140 0 # Node ID 00350a318b30c0a99f74c78324c9ba7cbe295e4f # Parent 20654db25ff83bf647d76820e38dfc08cfd735fb A patch from compnerd (Saleem Abdulrasool) to remove a use of the AM_PATH_CHECK macro, which is deprecated. This particular code was useless anyway as the version check was already being done by pkgconfig. Fixes #5644 committer: Richard Laager diff -r 20654db25ff8 -r 00350a318b30 configure.ac --- a/configure.ac Mon May 26 06:37:52 2008 +0000 +++ b/configure.ac Mon May 26 06:42:20 2008 +0000 @@ -2229,11 +2229,7 @@ dnl ####################################################################### dnl # Check for check dnl ####################################################################### -PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[ - ifdef([[AM_PATH_CHECK]], - [AM_PATH_CHECK(0.8.2,:,:)], - [AC_MSG_RESULT([no, testing is disabled])]) - ]) +PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], , [AC_MSG_RESULT([no, testing is disabled])]) AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"]) AC_SUBST(CHECK_CFLAGS) AC_SUBST(CHECK_LIBS)