Rename DBUS_CLIENT_LIBS to LIBDBUS_LIBS to more accurately reflect its meaning
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 29 Jul 2011 10:09:02 +0000 (11:09 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 29 Jul 2011 10:09:02 +0000 (11:09 +0100)
This does still need to be in configure.ac, because it's common to
dbus/Makefile.am (linking the static/shared library) and dbus-1*.pc.in
(telling static library users which additional libraries they must link).

configure.ac
dbus-1-uninstalled.pc.in
dbus-1.pc.in
dbus/Makefile.am

index 1253d0a..4a7ac3e 100644 (file)
@@ -1134,8 +1134,8 @@ fi
 AC_SUBST([NETWORK_libs])
 
 #### Set up final flags
-DBUS_CLIENT_LIBS="$THREAD_LIBS $NETWORK_libs"
-AC_SUBST(DBUS_CLIENT_LIBS)
+LIBDBUS_LIBS="$THREAD_LIBS $NETWORK_libs"
+AC_SUBST([LIBDBUS_LIBS])
 
 DBUS_TEST_LIBS="$THREAD_LIBS $NETWORK_libs"
 AC_SUBST(DBUS_TEST_LIBS)
index 082222d..f007232 100644 (file)
@@ -13,5 +13,5 @@ Name: dbus
 Description: Free desktop message bus (uninstalled copy)
 Version: @VERSION@
 Libs: ${abs_top_builddir}/dbus/libdbus-1.la
-Libs.private: @DBUS_CLIENT_LIBS@
+Libs.private: @LIBDBUS_LIBS@
 Cflags: -I${abs_top_srcdir}
index 421f3c8..7201e07 100644 (file)
@@ -13,5 +13,5 @@ Name: dbus
 Description: Free desktop message bus
 Version: @VERSION@
 Libs: -L${libdir} -ldbus-1
-Libs.private: @DBUS_CLIENT_LIBS@
+Libs.private: @LIBDBUS_LIBS@
 Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include
index 8ae07eb..af34bd4 100644 (file)
@@ -259,7 +259,7 @@ EXTRA_DIST=dbus-arch-deps.h.in
 noinst_LTLIBRARIES=libdbus-internal.la
 
 libdbus_1_la_CPPFLAGS= -Ddbus_1_EXPORTS
-libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
+libdbus_1_la_LIBADD= $(LIBDBUS_LIBS)
 libdbus_1_la_LDFLAGS = \
        $(AM_LDFLAGS) \
        $(export_symbols) \
@@ -268,7 +268,7 @@ libdbus_1_la_LDFLAGS = \
        $(NULL)
 
 libdbus_internal_la_CPPFLAGS = -DDBUS_STATIC_BUILD
-libdbus_internal_la_LIBADD=$(DBUS_CLIENT_LIBS)
+libdbus_internal_la_LIBADD=$(LIBDBUS_LIBS)
 
 noinst_PROGRAMS =