From d193ee8ba8f4d13129778973e0b1e2b980895816 Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Tue, 6 Sep 2005 11:23:21 +0000 Subject: * 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 --- avahi-utils/avahi/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- cgit