From b69e2e234993a63234eba9bc4f8bfcd13bb5bd6a Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Sat, 19 Nov 2005 13:43:03 +0000 Subject: * doesn't compile mono and python-avahi when dbus is not available * clean the summary of configure a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1013 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- Makefile.am | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5690c5b..06ffd25 100644 --- a/Makefile.am +++ b/Makefile.am @@ -137,6 +137,19 @@ CLEANFILES += avahi-compat-libdns_sd.pc endif +if HAVE_MONO + +pkgconfig_DATA += avahi-sharp.pc + +avahi-sharp.pc: avahi-sharp.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's,@libdir\@,$(libdir),g' $< > $@ + +CLEANFILES += avahi-sharp.pc + +endif + endif if HAVE_GLIB @@ -175,21 +188,6 @@ CLEANFILES += avahi-qt4.pc endif -if HAVE_MONO -if HAVE_DBUS - -pkgconfig_DATA += avahi-sharp.pc - -avahi-sharp.pc: avahi-sharp.pc.in - sed -e 's,@prefix\@,$(prefix),g' \ - -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ - -e 's,@libdir\@,$(libdir),g' $< > $@ - -CLEANFILES += avahi-sharp.pc - -endif -endif - MOSTLYCLEANFILES = $(DX_CLEANFILES) DISTCHECK_CONFIGURE_FLAGS = \ -- cgit