summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-discover-standalone/Makefile.am2
-rw-r--r--avahi-ui/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/avahi-discover-standalone/Makefile.am b/avahi-discover-standalone/Makefile.am
index e20797b..ca007be 100644
--- a/avahi-discover-standalone/Makefile.am
+++ b/avahi-discover-standalone/Makefile.am
@@ -26,6 +26,7 @@ interfaces = \
AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
if HAVE_GTK
+if HAVE_GLIB
bin_PROGRAMS = \
avahi-discover-standalone
@@ -46,6 +47,7 @@ avahi_discover_standalone_LDADD = \
interfaces_DATA = $(interfaces)
+endif # HAVE_GLIB
else
if HAVE_PYTHON_DBUS
diff --git a/avahi-ui/Makefile.am b/avahi-ui/Makefile.am
index 0fd232f..2b7a527 100644
--- a/avahi-ui/Makefile.am
+++ b/avahi-ui/Makefile.am
@@ -30,6 +30,7 @@ EXTRA_DIST = bssh.desktop.in bvnc.desktop.in
if HAVE_GTK
if HAVE_DBUS
+if HAVE_GLIB
avahiincludedir=$(includedir)/avahi-ui
@@ -75,6 +76,7 @@ bssh.desktop: bssh.desktop.in
bvnc.desktop: bvnc.desktop.in
sed -e 's,@bindir\@,$(bindir),g' $< > $@
+endif # HAVE_GLIB
endif
endif