]> git.meshlink.io Git - catta/commitdiff
build avahi-discover only if either dbm or gdbm is available (patch from swegener...
authorLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2007 22:36:12 +0000 (22:36 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2007 22:36:12 +0000 (22:36 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1368 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-python/Makefile.am

index 7f4980ab3cca31dd90f5709f59493dfaffc16573..0800506c590e03f096faec498846acfcca599a02 100644 (file)
@@ -34,11 +34,22 @@ if HAVE_PYTHON_DBUS
 if HAVE_PYGTK
 
 pythonscripts = \
-       avahi-bookmarks \
-       avahi-discover
+       avahi-bookmarks
 
 desktopdir = $(datadir)/applications
-desktop_DATA = avahi-discover.desktop
+desktop_DATA = 
+
+if HAVE_GDBM
+pythonscripts += \
+       avahi-discover
+desktop_DATA += avahi-discover.desktop
+endif
+
+if HAVE_DBM
+pythonscripts += \
+       avahi-discover
+desktop_DATA += avahi-discover.desktop
+endif
 
 avahi-discover.desktop: avahi-discover.desktop.in
        sed -e 's,@bindir\@,$(bindir),g' $< > $@