]> 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 021026220825b07aca818875d190bcff13a2e6fb..e20797b724b13377cfd0a5b05d1ebf8ed5a44f94 100644 (file)
@@ -26,9 +26,6 @@ interfaces = \
 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
 
 if HAVE_GTK
-
-interfacesdir=${datadir}/${PACKAGE}/interfaces/
-
 bin_PROGRAMS = \
        avahi-discover-standalone
 
@@ -51,14 +48,10 @@ 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