X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=libt2n.m4;h=0b7aed484a3f848cb55ab0dfc68b1af0e86f9f62;hp=6d3ba2203c84b9f5a7a122bf1842869967b62f90;hb=4c3662a0b083759056b93c21e747e5551a8ddfcc;hpb=574d321cdb4a84b89a0162086a860db8bf0500ae diff --git a/libt2n.m4 b/libt2n.m4 index 6d3ba22..0b7aed4 100644 --- a/libt2n.m4 +++ b/libt2n.m4 @@ -8,4 +8,21 @@ AC_DEFUN([LIBT2N_CHECK], LIBT2N_CLIENT_PCTEMPLATE="$LIBT2N_DATADIR/clientlib.pc.in" AC_SUBST(LIBT2N_CODEGEN) AC_SUBST(LIBT2N_CLIENT_PCTEMPLATE) + + dnl newer automake versions do not allow to use += on undefined variables + dnl but we want to use += in codegen.make (s.a. examples-codegen/example1) + dnl as workaround we always define them + dnl see also: + dnl automake ml: subject: "automake conditional append" + dnl http://sourceware.org/ml/automake/2005-01/msg00019.html + dnl + dnl Note: + dnl if you update from libt2n 0.1 to 0.2 + dnl you must take care to pick up the right libt2n.m4 + + AC_SUBST([include_HEADERS], ['']) + AC_SUBST([BUILT_SOURCES], ['']) + AC_SUBST([CLEANFILES], ['']) + AC_SUBST([DISTCLEANFILES], ['']) + AC_SUBST([EXTRA_DIST], ['']) ])