]> git.meshlink.io Git - catta/blobdiff - avahi-discover-standalone/Makefile.am
fix build if avahi is built without gtk but with python support (closes #54)
[catta] / avahi-discover-standalone / Makefile.am
index 18fbdde6aa2374a5873f0af261a12bbed0cd27c0..e20797b724b13377cfd0a5b05d1ebf8ed5a44f94 100644 (file)
@@ -26,8 +26,6 @@ interfaces = \
 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
 
 if HAVE_GTK
-
-
 bin_PROGRAMS = \
        avahi-discover-standalone
 
@@ -46,19 +44,14 @@ avahi_discover_standalone_LDADD = \
        ../avahi-core/libavahi-core.la  \
        $(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS)
 
-interfacesdir=${datadir}/${PACKAGE}/interfaces/
 interfaces_DATA = $(interfaces)
 
 else 
 
-if HAVE_PYTHON 
-if HAVE_DBUS
+if HAVE_PYTHON_DBUS
 
-# We need this for the python version of avahi-discover
-interfacesdir=${datadir}/${PACKAGE}/interfaces/
 interfaces_DATA = $(interfaces)
 
-endif
 endif
 endif