]> git.meshlink.io Git - catta/commitdiff
install interface file when compiling without GTK but with Python+DBUS
authorLennart Poettering <lennart@poettering.net>
Sat, 27 Aug 2005 01:19:13 +0000 (01:19 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 27 Aug 2005 01:19:13 +0000 (01:19 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@452 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-discover-standalone/Makefile.am

index 7145e0f7ba6723ff7bddae49fbd940f5c5de957a..5b93c42dc5d4794d02e3eba6e55e04decd9194f2 100644 (file)
@@ -42,12 +42,23 @@ avahi_discover_standalone_LDADD = \
        ../avahi-core/libavahi-core.la  \
        $(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS)
 
-interfaces = \
-        avahi-discover.glade
+interfaces_DATA = $(interfaces)
+
+else 
 
+if HAVE_PYTHON 
+if HAVE_DBUS
+
+# We need this for the python version of avahi-discover
 interfaces_DATA = $(interfaces)
 
+endif
+endif
+endif
+
+interfaces = \
+        avahi-discover.glade
+
 EXTRA_DIST = \
        $(interfaces) \
        avahi-discover.gladep
-endif