3 AM_CONFIG_HEADER(config.h)
4 dnl AC_CONFIG_HEADERS([config.h:config.h.in])
5 AM_INIT_AUTOMAKE(libt2n, 0.1)
7 AC_DEFINE(PROTOCOL_VERSION, 1, [protocol version used (integers, increase version if incompatible)])
14 AC_PATH_PROG(DOXYGEN, doxygen, $PATH)
15 AM_CONDITIONAL(HAVE_DOXYGEN, test -n $DOXYGEN);
17 AM_CONDITIONAL(AUTOCHECK, test "$enable_autocheck" = yes)
18 AM_PATH_CPPUNIT(1.8.0)
21 if test "x$BOOST_SERIALIZATION_LIB" = "x"; then
22 echo "Sorry, we need the Serialization-Lib from Boost."
26 PKG_CHECK_MODULES(CODEGEN, libxml++-2.6 >= 2.8.1)
27 AC_SUBST(CODEGEN_CFLAGS)
28 AC_SUBST(CODEGEN_LIBS)
30 AC_OUTPUT(Makefile doc/Doxyfile doc/Makefile src/Makefile libt2n.pc libt2n.spec test/Makefile examples/Makefile codegen/Makefile example-codegen/Makefile)