From: Lennart Poettering Date: Fri, 5 Jan 2007 22:36:12 +0000 (+0000) Subject: build avahi-discover only if either dbm or gdbm is available (patch from swegener... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=5183633d2f84c0e2a0342f49c9cab275adb43ed8;p=catta build avahi-discover only if either dbm or gdbm is available (patch from swegener/Gentoo) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1368 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-python/Makefile.am b/avahi-python/Makefile.am index 7f4980a..0800506 100644 --- a/avahi-python/Makefile.am +++ b/avahi-python/Makefile.am @@ -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' $< > $@