AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
if HAVE_GTK
-
-interfacesdir=${datadir}/${PACKAGE}/interfaces/
-
bin_PROGRAMS = \
avahi-discover-standalone
if HAVE_PYTHON
if HAVE_DBUS
-# We need this for the python version of avahi-discover
-interfacesdir=${datadir}/${PACKAGE}/interfaces/
interfaces_DATA = $(interfaces)
endif
fi
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
+
+
#
# D-BUS
#
AC_SUBST(avahi_socket)
+#
+# Avahi interfaces dir
+#
+if test x$HAVE_PYTHON_DBUS || test x$HAVE_GTK; then
+ interfacesdir="${datadir}/${PACKAGE}/interfaces/"
+ AC_SUBST(interfacesdir)
+fi
+
+
#
# Doxygen
#