Move knowledge of what the bus daemon/launcher need to link into bus/
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 14 Jun 2011 16:44:35 +0000 (17:44 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 29 Jul 2011 10:07:19 +0000 (11:07 +0100)
bus/Makefile.am
configure.ac

index 9ec1289..c83c80a 100644 (file)
@@ -1,8 +1,22 @@
 configdir=$(sysconfdir)/dbus-1
 dbus_daemon_execdir = $(DBUS_DAEMONDIR)
 
+DBUS_BUS_LIBS = \
+       $(XML_LIBS) \
+       $(SELINUX_LIBS) \
+       $(THREAD_LIBS) \
+       $(ADT_LIBS) \
+       $(NETWORK_libs) \
+       $(NULL)
+
+DBUS_LAUNCHER_LIBS = \
+       $(XML_LIBS) \
+       $(THREAD_LIBS) \
+       $(NETWORK_libs) \
+       $(NULL)
+
 INCLUDES = -I$(top_srcdir) \
-       $(DBUS_BUS_CFLAGS) \
+       $(XML_CFLAGS) \
        -DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\" \
        -DDBUS_COMPILATION
 
index 0b45e37..1253d0a 100644 (file)
@@ -1137,16 +1137,6 @@ AC_SUBST([NETWORK_libs])
 DBUS_CLIENT_LIBS="$THREAD_LIBS $NETWORK_libs"
 AC_SUBST(DBUS_CLIENT_LIBS)
 
-DBUS_BUS_CFLAGS="$XML_CFLAGS"
-DBUS_BUS_LIBS="$XML_LIBS $SELINUX_LIBS $THREAD_LIBS $ADT_LIBS $NETWORK_libs"
-AC_SUBST(DBUS_BUS_CFLAGS)
-AC_SUBST(DBUS_BUS_LIBS)
-
-DBUS_LAUNCHER_CFLAGS="$XML_CFLAGS"
-DBUS_LAUNCHER_LIBS="$XML_LIBS $THREAD_LIBS $NETWORK_libs"
-AC_SUBST(DBUS_LAUNCHER_CFLAGS)
-AC_SUBST(DBUS_LAUNCHER_LIBS)
-
 DBUS_TEST_LIBS="$THREAD_LIBS $NETWORK_libs"
 AC_SUBST(DBUS_TEST_LIBS)