aclocal

autotools: autoreconf can't find macro but aclocal can

I'm trying to use autotools for the first time as a developer, so excuse any noobishness. I'm using the Check unit testing library which defines the macro AM_PATH_CHECK in check.m4, which was installed in /usr/local/share/aclocal. I managed to get aclocal to recognize AM_PATH_CHECK by editing /usr/share/aclocal/dirlist to include /usr/...