summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--tests/twisted/Makefile.am6
2 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d61cbdf5..bea28fb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,6 +269,8 @@ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],
[ HAVE_CHECK=no ] )
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
+AC_SUBST(PACKAGE_STRING)
+
AC_OUTPUT( Makefile \
docs/Makefile \
lib/Makefile \
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 2e72f3c9..005a5b60 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -77,6 +77,11 @@ check-twisted:
exit 1;\
fi
+config.py:
+ echo "PACKAGE_STRING = \"$(PACKAGE_STRING)\"" > config.py
+
+BUILT_SOURCES = config.py
+
EXTRA_DIST = \
$(TWISTED_AVAHI_TESTS) \
$(TWISTED_BASIC_TESTS) \
@@ -84,6 +89,7 @@ EXTRA_DIST = \
saluttest.py \
servicetest.py \
trivialstream.py \
+ config.py \
avahi/file_transfer_helper.py
CLEANFILES = salut-[1-9]*.log *.pyc */*.pyc