error: possibly undefined macro: AM_PATH_CPPUNIT

If you are facing this issue:

aclocal: warning: autoconf input should be named '', not '' warning: macro 'AM_PATH_CPPUNIT' not found in library 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