X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=configure.in;h=2522ab0c374eab981dd2a14038cdb6ee2f8b9f83;hp=056cb5e8013062c8dee57d2948cc282fc3a67aac;hb=71def1d72676dc1e60abd8b24e9285b7edbc9172;hpb=59adb9e24e4ac66b2623742c3b9c81a1c20ff9f0 diff --git a/configure.in b/configure.in index 056cb5e..2522ab0 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,11 @@ AC_INIT(configure.in) AM_CONFIG_HEADER(config.h) +dnl AC_CONFIG_HEADERS([config.h:config.h.in]) AM_INIT_AUTOMAKE(libt2n, 0.1) +AC_DEFINE(PROTOCOL_VERSION, 1, [protocol version used (integers, increase version if incompatible)]) + AC_LANG_CPLUSPLUS AC_PROG_CXX AM_PROG_LIBTOOL @@ -11,4 +14,13 @@ dnl check for doxygen AC_PATH_PROG(DOXYGEN, doxygen, $PATH) AM_CONDITIONAL(HAVE_DOXYGEN, test -n $DOXYGEN); -AC_OUTPUT(Makefile doc/Doxyfile doc/Makefile src/Makefile) +AM_CONDITIONAL(AUTOCHECK, test "$enable_autocheck" = yes) +AM_PATH_CPPUNIT(1.8.0) + +AX_BOOST([1.33]) +if test "x$BOOST_SERIALIZATION_LIB" = "x"; then + echo "Sorry, we need the Serialization-Lib from Boost." + exit 1 +fi + +AC_OUTPUT(Makefile doc/Doxyfile doc/Makefile src/Makefile libt2n.pc libt2n.spec test/Makefile)