X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=configure.in;h=41756f8f4f3e5f69743676cb0a1d3f717a6849c7;hp=83d0cfd74c7c55c904f461420e90ac0175339044;hb=refs%2Ftags%2Fv0.2;hpb=7eb34f4dcd6b5eba1846bce22e95d54418b2e34e diff --git a/configure.in b/configure.in index 83d0cfd..41756f8 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ AC_INIT(configure.in) AM_CONFIG_HEADER(config.h) dnl AC_CONFIG_HEADERS([config.h:config.h.in]) -AM_INIT_AUTOMAKE(libt2n, 0.1) +AM_INIT_AUTOMAKE(libt2n, 0.2) AC_DEFINE(PROTOCOL_VERSION, 1, [protocol version used (integers, increase version if incompatible)]) @@ -28,19 +28,17 @@ AC_SUBST(XMLPP_CFLAGS) AC_SUBST(XMLPP_LIBS) dnl fake installed libt2n (codegen) for example-codegen -LIBT2N_CPPFLAGS="-I\$(top_srcdir)/src @BOOST_CPPFLAGS@ @CPPUNIT_CFLAGS@ -I\$(top_srcdir)/codegen" -LIBT2N_LIBS="\$(top_builddir)/src/libt2n.la @BOOST_SERIALIZATION_LIB@ @BOOST_LDFLAGS@" -LIBT2N_CODEGEN="\$(top_builddir)/codegen/libt2n-codegen" -LIBT2N_CLIENT_PCTEMPLATE="\$(top_srcdir)/codegen/clientlib.pc.in" -LIBT2N_CODEGEN_MAKESNIPPET="include \$(top_srcdir)/codegen/codegen.make" +dnl LIBT2N_CFLAGS="-I\$(top_srcdir)/src @BOOST_CPPFLAGS@ @CPPUNIT_CFLAGS@ -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_CPPFLAGS) +AC_SUBST(LIBT2N_CFLAGS) AC_SUBST(LIBT2N_LIBS) AC_SUBST(LIBT2N_CODEGEN) AC_SUBST(LIBT2N_CLIENT_PCTEMPLATE) -AC_SUBST(LIBT2N_CODEGEN_MAKESNIPPET) 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 example-codegen/Makefile) +AC_OUTPUT(Makefile doc/Doxyfile doc/Makefile src/Makefile libt2n.pc libt2n.spec test/Makefile examples/Makefile codegen/Makefile examples-codegen/Makefile)