--- configure.ac.orig 2009-02-09 17:16:37.000000000 -0700 +++ configure.ac 2017-06-18 09:40:47.000000000 -0700 @@ -333,7 +333,7 @@ dnl Until then just use AC_CHECK_HEADER by itself dnl AC_CHECK_HEADER([cppunit/TestRunner.h], dnl [AC_CHECK_LIB([cppunit], [main], [HAVE_CPPUNIT="true"], [HAVE_CPPUNIT="false"], [ -ldl ])], [HAVE_CPPUNIT="false"]) -AC_CHECK_HEADER([cppunit/TestRunner.h],[HAVE_CPPUNIT="true"], [HAVE_CPPUNIT="false"]) +AC_CHECK_HEADER([cppunit/TestRunner.h],[HAVE_CPPUNIT="false"], [HAVE_CPPUNIT="false"]) if test $HAVE_CPPUNIT = "true"; then AC_MSG_CHECKING([whether unit tests code will compile and link]) SAVE_LIBS=$LIBS