From a355be1c7ab89eb0ace82ce703b37ff30e081492 Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Mon, 6 Jun 2005 11:20:39 +0000 Subject: * Patch by Ross Burton to allow disabling GTK (avahi-discover) with --enable-gtk=no (Fixes: #3476) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@105 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-discover/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'avahi-discover') diff --git a/avahi-discover/Makefile.am b/avahi-discover/Makefile.am index 8a5da9a..5cbe62d 100644 --- a/avahi-discover/Makefile.am +++ b/avahi-discover/Makefile.am @@ -25,6 +25,7 @@ AM_LDADD=$(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS) # This cool debug trap works on i386/gcc only AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' +if ENABLE_GTK bin_PROGRAMS = \ avahi-discover @@ -33,3 +34,4 @@ avahi_discover_SOURCES = \ avahi_discover_CFLAGS = $(AM_CFLAGS) avahi_discover_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi-common/libavahi-common.la +endif -- cgit