See http://www.mail-archive.com/autoconf@gnu.org/msg15264.html for a proper explanation. Anyway, /usr/share/aclocal/check.m4 has 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]]) which is supposed to output the relevant warning messages on autoconf, but instead goes horribly wrong and "breaks any package using the AM_PATH_CHECK macro in configure.ac". The solution as described in the URL is to break up the AM_PATH_CHECK and PKG_CHECK_MODULES with the `@&t@' null quadrigraph. Patch to follow.
Created attachment 119921 [details, diff] fix-AM_PATCH_CHECK-breakage.patch From: http://check.svn.sourceforge.net/viewvc/check/trunk/check.m4?r1=333&r2=401&view=patch
oh, and here's the Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395466 though the patch they used is sucky, apparently; quadrigraphs are better.
reassigning to proper alias
Created attachment 147179 [details, diff] fix-AM_PATCH_CHECK-breakage.patch Update.
Fixed, thanks.