]> git.meshlink.io Git - catta/commitdiff
build avahi-gobject only when avahi-client is also built
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Jan 2008 13:17:14 +0000 (13:17 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Jan 2008 13:17:14 +0000 (13:17 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1670 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

Makefile.am
avahi-gobject/Makefile.am
configure.ac

index f65e9e32499d28ef2fb1e5d5c9f2434956ab33bc..1b5b7d36bf158c452d0d76c09b890be844782297 100644 (file)
@@ -112,6 +112,7 @@ DX_INPUT += \
        $(srcdir)/avahi-glib/glib-malloc.h
 
 if HAVE_GOBJECT
+if HAVE_DBUS
 DX_INPUT += \
        $(srcdir)/avahi-gobject/ga-client.h \
        $(srcdir)/avahi-gobject/ga-entry-group.h \
@@ -122,6 +123,7 @@ DX_INPUT += \
        $(srcdir)/avahi-gobject/ga-service-resolver.h
 endif
 endif
+endif
 
 if HAVE_DBUS
 DX_INPUT += \
index e9e00a8c4858f661208ced52f0705855c2e01189..a9bcd4bc7bf70ef1603e3b2baaad81fd13747dd4 100644 (file)
@@ -23,6 +23,7 @@ AM_CFLAGS=-I$(top_srcdir)
 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
 
 if HAVE_GOBJECT
+if HAVE_DBUS
 
 avahigobjectincludedir=$(includedir)/avahi-gobject
 
@@ -109,6 +110,7 @@ signals-marshal.c: signals-marshal.list
        $< > $@
 
 endif
+endif
 
 indent:
        indent -brf -nbbo -nbc -ip0 -cs -nbfde -npsl -br -brs -bap -i4 -bs -cdw -ce -npcs -hnl -cli4 -nut -ci8 ga-*.[ch]
index 1fff56c548a17462e42d36473248384ced191c68..6dd58d09731af661805e6b98dc29b054199eba31 100644 (file)
@@ -1154,6 +1154,11 @@ if test "x$HAVE_GTK" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
    BUILD_UI="yes"
 fi
 
+BUILD_GOBJECT="no"
+if test "x$BUILD_CLIENT" = "xyes" -a "x$HAVE_GOBJECT" = "xyes" ; then
+   BUILD_GOBJECT="yes"
+fi
+
 echo "\
     Building libavahi-core              yes
     Building avahi-daemon:              ${BUILD_DAEMON}
@@ -1162,7 +1167,7 @@ echo "\
     Building avahi-utils:               ${BUILD_CLIENT}
     Building avahi-python:              ${BUILD_PYTHON}
     Building libavahi-glib:             ${HAVE_GLIB}
-    Building libavahi-gobject:          ${HAVE_GOBJECT}
+    Building libavahi-gobject:          ${BUILD_GOBJECT}
     Building avahi-discover-standalone: ${HAVE_GTK}
     Building libavahi-qt3:              ${HAVE_QT3}
     Building libavahi-qt4:              ${HAVE_QT4}