diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 8ba48d54e2..bc069359be 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -93,9 +93,11 @@ AC_SUBST(LIBTOOL_VERSION_INFO_ARG) gl_CLOCK_TIME +# Check for cppunit support. CPPUNIT_MINIMUM_VERSION=1.10.2 -PKG_CHECK_MODULES([CPPUNIT], [cppunit >= $CPPUNIT_MINIMUM_VERSION]) +AM_PATH_CPPUNIT([$CPPUNIT_MINIMUM_VERSION], , [CPPUNIT_LIBS=-lcppunit]) CPPUNIT_CXXFLAGS=$CPPUNIT_CFLAGS +AC_SUBST(CPPUNIT_LIBS) AC_SUBST(CPPUNIT_CXXFLAGS) AC_ARG_ENABLE(apr, |