]> git.meshlink.io Git - catta/commitdiff
fix build when neither HAVE_GDBM nor HAVE_DBM is specified
authorLennart Poettering <lennart@poettering.net>
Sun, 20 Aug 2006 01:16:06 +0000 (01:16 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 20 Aug 2006 01:16:06 +0000 (01:16 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1246 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-python/avahi/Makefile.am

index 5673d5ea0adfa6a4be18d75508de48c2096bb212..20864c3142db263eb2acd7a127dd1bc6c368fc5e 100644 (file)
@@ -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' \