Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395466

-Khem
Index: check-0.9.5/check.m4
===================================================================
--- check-0.9.5.orig/check.m4
+++ check-0.9.5/check.m4
@@ -4,8 +4,8 @@ dnl
 
 AC_DEFUN([AM_PATH_CHECK],
 [
-  AC_MSG_WARN([[AM_PATH_CHECK() is deprecated]])
-  AC_MSG_WARN([[use PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])
+  AC_MSG_WARN([A@&t@M_PATH_CHECK() is deprecated])
+  AC_MSG_WARN([[use P@&t@KG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])
   AC_ARG_WITH([check],
   [  --with-check=PATH       prefix where check is installed [default=auto]])
  
