From: Sebastien Estienne Date: Fri, 25 Nov 2005 10:32:39 +0000 (+0000) Subject: * only create DBUS_SYS_DIR if HAVE_DBUS X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=35ff3e38ab92c6a5376d8d2bb051ff66b8f113ee;p=catta * only create DBUS_SYS_DIR if HAVE_DBUS git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1035 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 246bd90..ffcfa58 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -28,7 +28,6 @@ if HAVE_EXPAT pkgsysconfdir=$(sysconfdir)/avahi servicedir=$(pkgsysconfdir)/services introspectiondir=$(pkgdatadir)/introspection -dbusservicedir=$(DBUS_SYS_DIR) AM_CFLAGS+= \ -DAVAHI_DAEMON_RUNTIME_DIR=\"$(avahi_runtime_dir)/avahi-daemon/\" \ @@ -84,6 +83,8 @@ endif if HAVE_DBUS +dbusservicedir=$(DBUS_SYS_DIR) + avahi_daemon_SOURCES += \ dbus-protocol.c dbus-protocol.h \ dbus-util.c dbus-util.h \ @@ -101,7 +102,7 @@ avahi_daemon_SOURCES += \ dbus-record-browser.c \ ../avahi-common/dbus.c ../avahi-common/dbus.h \ ../avahi-common/dbus-watch-glue.c ../avahi-common/dbus-watch-glue.h - + avahi_daemon_LDADD += \ $(DBUS_LIBS)