summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-20 01:16:06 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-20 01:16:06 +0000
commitdc8c605b464a608ec330313c3c0812975069474c (patch)
treeafa44e3f10503c3d9814af39bfc525a85bde32c0
parentb7d566fc3ec60c0fbbca22af273bc67fdc1372fa (diff)
fix build when neither HAVE_GDBM nor HAVE_DBM is specified
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1246 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-python/avahi/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/avahi-python/avahi/Makefile.am b/avahi-python/avahi/Makefile.am
index 5673d5e..20864c3 100644
--- a/avahi-python/avahi/Makefile.am
+++ b/avahi-python/avahi/Makefile.am
@@ -23,9 +23,10 @@ if HAVE_PYTHON
avahidir = $(pythondir)/avahi
-avahi_SCRIPTS = ServiceTypeDatabase.py
if HAVE_GDBM
+avahi_SCRIPTS = ServiceTypeDatabase.py
+
ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
sed -e 's,@PYTHON\@,$(PYTHON),g' \
-e 's,@DBM\@,gdbm,g' \
@@ -37,6 +38,8 @@ ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
endif
if HAVE_DBM
+avahi_SCRIPTS = ServiceTypeDatabase.py
+
ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
sed -e 's,@PYTHON\@,$(PYTHON),g' \
-e 's,@DBM\@,dbm,g' \