The AM_PATH_CHECK() macro is defined in the file
check.m4 which is installed by Check. It has some optional
parameters that you might find useful in your configure.ac:
AM_PATH_CHECK([MINIMUM-VERSION,
[ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]])
AM_PATH_CHECK does several things:
If you include AM_PATH_CHECK() in configure.ac and
subsequently see warnings when attempting to create
configure, it probably means one of the following things:
ACLOCAL_AMFLAGS in your top-level Makefile.am to
include -I DIR with DIR being the location of
check.m4. Then call autoreconf.