changeset 23194:00350a318b30

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 <rlaager@wiktel.com>
author Saleem Abdulrasool <compnerd@compnerd.org>
date Mon, 26 May 2008 06:42:20 +0000
parents 20654db25ff8
children c4b476c55b49
files configure.ac
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)