From: Simon McVittie Date: Fri, 29 Jul 2011 10:09:02 +0000 (+0100) Subject: Rename DBUS_CLIENT_LIBS to LIBDBUS_LIBS to more accurately reflect its meaning X-Git-Tag: dbus-1.5.6~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42d7a573cff2febb9938e30edcebc420e0f40195;p=thirdparty%2Fdbus.git Rename DBUS_CLIENT_LIBS to LIBDBUS_LIBS to more accurately reflect its meaning 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). --- diff --git a/configure.ac b/configure.ac index 1253d0a03..4a7ac3e98 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/dbus-1-uninstalled.pc.in b/dbus-1-uninstalled.pc.in index 082222d66..f00723252 100644 --- a/dbus-1-uninstalled.pc.in +++ b/dbus-1-uninstalled.pc.in @@ -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} diff --git a/dbus-1.pc.in b/dbus-1.pc.in index 421f3c82d..7201e07f9 100644 --- a/dbus-1.pc.in +++ b/dbus-1.pc.in @@ -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 diff --git a/dbus/Makefile.am b/dbus/Makefile.am index 8ae07ebdf..af34bd4b4 100644 --- a/dbus/Makefile.am +++ b/dbus/Makefile.am @@ -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 =