]> git.meshlink.io Git - catta/commitdiff
* only create DBUS_SYS_DIR if HAVE_DBUS
authorSebastien Estienne <sebastien.estienne@gmail.com>
Fri, 25 Nov 2005 10:32:39 +0000 (10:32 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Fri, 25 Nov 2005 10:32:39 +0000 (10:32 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1035 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/Makefile.am

index 246bd900bed6ff3eba728eb91c64c046a0a06a2e..ffcfa584d54710218c5263a7e3fe18f148c81882 100644 (file)
@@ -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)