I needed to add AM_PATH_CHECK to configure.am I then try to run the usual sequence of autotools commands to rebuild all the makefiles and whatnot:
AM_PATH_CHECK
aclocal automake -ac autoheader autoreconf ./configure make