]> git.meshlink.io Git - catta/commitdiff
Fix build with --disable-glib
authorTed Percival <ted@tedp.net>
Sun, 20 Apr 2008 04:23:59 +0000 (04:23 +0000)
committerTed Percival <ted@tedp.net>
Sun, 20 Apr 2008 04:23:59 +0000 (04:23 +0000)
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
avahi-ui/Makefile.am

index e20797b724b13377cfd0a5b05d1ebf8ed5a44f94..ca007be22d959d70e65d79af0e338a7bf5f3b0df 100644 (file)
@@ -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
index 0fd232faa311c2de05484c89b93ac654bae9392e..2b7a527d0e455fff2a5bb37e9bb6b3db2635b1c0 100644 (file)
@@ -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