]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/Makefile.am
sunstudio cc compat (contributed by Padraig O'Briain)
[catta] / avahi-daemon / Makefile.am
index 55207d07525e7923196329a4bf7ef8188c646a2c..15cbb575cfe5366318b7508e82cd30f9d9d68d5c 100644 (file)
@@ -85,6 +85,10 @@ avahi_daemon_LDADD += -lcap
 
 endif
 
+if HAVE_DLOPEN
+avahi_daemon_LDADD += -ldl
+endif
+
 if HAVE_DBUS
 
 dbusservicedir=$(DBUS_SYS_DIR)
@@ -110,10 +114,6 @@ avahi_daemon_SOURCES += \
 avahi_daemon_LDADD += \
        $(DBUS_LIBS)
 
-if HAVE_DLOPEN
-avahi_daemon_LDADD += -ldl
-endif
-
 avahi_daemon_CFLAGS += $(DBUS_CFLAGS)
 
 dbusservice_DATA = avahi-dbus.conf
@@ -158,3 +158,6 @@ xmllint:
        for F in $(introspection_DATA) ; do \
                xmllint --noout --valid $$F ; \
        done
+
+install-data-local:
+       test -z "$(localstatedir)/run" || $(mkdir_p) "$(DESTDIR)$(localstatedir)/run"