comparison configure.ac @ 23192: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 313b87adb730
comparison
equal deleted inserted replaced
23191:20654db25ff8 23192:00350a318b30
2227 fi 2227 fi
2228 2228
2229 dnl ####################################################################### 2229 dnl #######################################################################
2230 dnl # Check for check 2230 dnl # Check for check
2231 dnl ####################################################################### 2231 dnl #######################################################################
2232 PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[ 2232 PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], , [AC_MSG_RESULT([no, testing is disabled])])
2233 ifdef([[AM_PATH_CHECK]],
2234 [AM_PATH_CHECK(0.8.2,:,:)],
2235 [AC_MSG_RESULT([no, testing is disabled])])
2236 ])
2237 AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"]) 2233 AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"])
2238 AC_SUBST(CHECK_CFLAGS) 2234 AC_SUBST(CHECK_CFLAGS)
2239 AC_SUBST(CHECK_LIBS) 2235 AC_SUBST(CHECK_LIBS)
2240 2236
2241 dnl ####################################################################### 2237 dnl #######################################################################