X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=configure.in;h=faf76e4adb3fb0099ebccf8d0e0127acf3765bab;hp=1d2bad1798eaa5a4990ef3f198d428477fccb9a8;hb=53f790539a2007310efd0987d58d28a718815edb;hpb=e1f27c9e107c82457e1292590ac865c148970834 diff --git a/configure.in b/configure.in index 1d2bad1..faf76e4 100644 --- a/configure.in +++ b/configure.in @@ -15,20 +15,24 @@ AC_PATH_PROG(DOXYGEN, doxygen) AM_CONDITIONAL(HAVE_DOXYGEN, test -n $DOXYGEN) AM_CONDITIONAL(AUTOCHECK, test "$enable_autocheck" = yes) -AM_PATH_CPPUNIT(1.8.0) -AX_BOOST([1.33]) +AX_BOOST_BASE([1.33]) +AX_BOOST_SERIALIZATION +AX_BOOST_UNIT_TEST_FRAMEWORK if test "x$BOOST_SERIALIZATION_LIB" = "x"; then echo "Sorry, we need the Serialization-Lib from Boost." exit 1 fi +if test "x$BOOST_UNIT_TEST_FRAMEWORK_LIB" = "x"; then + AC_MSG_ERROR([Sorry, we need the unit test framework from Boost.]) +fi PKG_CHECK_MODULES(XMLPP, libxml++-2.6 >= 2.8.1) AC_SUBST(XMLPP_CFLAGS) AC_SUBST(XMLPP_LIBS) dnl fake installed libt2n (codegen) for example-codegen -dnl LIBT2N_CFLAGS="-I\$(top_srcdir)/src @BOOST_CPPFLAGS@ @CPPUNIT_CFLAGS@ -I\$(top_srcdir)/codegen" +dnl LIBT2N_CFLAGS="-I\$(top_srcdir)/src @BOOST_CPPFLAGS@ -I\$(top_srcdir)/codegen" dnl LIBT2N_LIBS="\$(top_builddir)/src/libt2n.la @BOOST_SERIALIZATION_LIB@ @BOOST_LDFLAGS@" dnl LIBT2N_CODEGEN="\$(top_builddir)/codegen/libt2n-codegen" dnl LIBT2N_CLIENT_PCTEMPLATE="\$(top_srcdir)/codegen/clientlib.pc.in"