From: Trent Lloyd Date: Tue, 6 Sep 2005 11:23:21 +0000 (+0000) Subject: * Patch by Ross Burton to make building the ServiceTypeDatabase work when PYGTK... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d193ee8ba8f4d13129778973e0b1e2b980895816;p=catta * Patch by Ross Burton to make building the ServiceTypeDatabase work when PYGTK and PYTHON-DBUS are not found. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@518 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-utils/avahi/Makefile.am b/avahi-utils/avahi/Makefile.am index 6800634..b1ebe22 100644 --- a/avahi-utils/avahi/Makefile.am +++ b/avahi-utils/avahi/Makefile.am @@ -25,16 +25,16 @@ avahidir = $(pythondir)/avahi avahi_SCRIPTS = ServiceTypeDatabase.py -if HAVE_PYTHON_DBUS -if HAVE_PYGTK - -avahi_PYTHON = __init__.py SimpleGladeApp.py - ServiceTypeDatabase.py: ServiceTypeDatabase.py.in sed -e 's,@PYTHON\@,$(PYTHON),g' \ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ chmod +x $@ +if HAVE_PYGTK +if HAVE_PYTHON_DBUS + +avahi_PYTHON = __init__.py SimpleGladeApp.py + endif endif endif