If you are facing this issue:
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:15: warning: macro 'AM_PATH_CPPUNIT' not found in library configure.in:15: error: possibly undefined macro: AM_PATH_CPPUNIT If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
Just install this package:
$ sudo apt-get install libcppunit-dev