X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=configure.in;fp=configure.in;h=0000000000000000000000000000000000000000;hp=0f775c925cd731a18eb04d97c07d8cf5cf659fc4;hb=3de7c9f5068dbc3cf0e5994c44b0cd3d07a1bd8c;hpb=7ba3852764765e4ffe3ee420f639bd7f6091ccf0 diff --git a/configure.in b/configure.in deleted file mode 100644 index 0f775c9..0000000 --- a/configure.in +++ /dev/null @@ -1,48 +0,0 @@ -AC_INIT(configure.in) - -AM_CONFIG_HEADER(config.h) -dnl AC_CONFIG_HEADERS([config.h:config.h.in]) -AM_INIT_AUTOMAKE(libt2n, 0.6) - -AC_DEFINE(PROTOCOL_VERSION, 1, [protocol version used (integers, increase version if incompatible)]) - -AC_LANG_CPLUSPLUS -AC_PROG_CXX -AM_PROG_LIBTOOL - -dnl check for doxygen -AC_PATH_PROG(DOXYGEN, doxygen) -AM_CONDITIONAL(HAVE_DOXYGEN, test -n $DOXYGEN) - -AM_CONDITIONAL(AUTOCHECK, test "$enable_autocheck" = yes) - -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@ -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" - -AC_SUBST(LIBT2N_CFLAGS) -AC_SUBST(LIBT2N_LIBS) -AC_SUBST(LIBT2N_CODEGEN) -AC_SUBST(LIBT2N_CLIENT_PCTEMPLATE) - -dnl todo: do not create .pc file in configure but in make -dnl see also autoconf manual "Installation Directory Variables" - -AC_OUTPUT(Makefile doc/Doxyfile doc/Makefile src/Makefile libt2n.pc libt2n.spec test/Makefile examples/Makefile codegen/Makefile examples-codegen/Makefile)