From 34ae7e9a1a51ea57b06fb88573c0c44c4c32d9b6 Mon Sep 17 00:00:00 2001 From: Ted Percival Date: Sun, 20 Apr 2008 04:23:59 +0000 Subject: [PATCH] Fix build with --disable-glib Disables avahi-discover-standalone and avahi-ui (bssh & bvnc) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1777 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-discover-standalone/Makefile.am | 2 ++ avahi-ui/Makefile.am | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.39.2