comparison configure.ac @ 4533:6fd552b6e5db

Add depencies to dbus-1 and dbus-glib-1 in audacious.pc during configure, if DBus support is enabled. Should close Debian bugreport #469055.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 10 May 2008 04:35:03 +0300
parents a5377b724505
children 956272f5935d
comparison
equal deleted inserted replaced
4532:97b29dec6c6b 4533:6fd552b6e5db
157 AC_PATH_PROG([DBUS_BINDING_TOOL], [dbus-binding-tool], [no]) 157 AC_PATH_PROG([DBUS_BINDING_TOOL], [dbus-binding-tool], [no])
158 AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal], [no]) 158 AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal], [no])
159 if test "x$DBUS_BINDING_TOOL" = "xno" || test "x$GLIB_GENMARSHAL" = "xno" || test "x$enable_dbus" = "xno" ; then 159 if test "x$DBUS_BINDING_TOOL" = "xno" || test "x$GLIB_GENMARSHAL" = "xno" || test "x$enable_dbus" = "xno" ; then
160 enable_dbus="no" 160 enable_dbus="no"
161 else 161 else
162 ADD_PC_REQUIRES([dbus-1 >= 0.60])
163 ADD_PC_REQUIRES([dbus-glib-1 >= 0.60])
162 AC_DEFINE([USE_DBUS], 1, [Define if D-Bus support enabled]) 164 AC_DEFINE([USE_DBUS], 1, [Define if D-Bus support enabled])
163 AC_DEFINE([DBUS_SERVICES_DIR], "$datadir/dbus-1/services", 165 AC_DEFINE([DBUS_SERVICES_DIR], "$datadir/dbus-1/services",
164 [Location of D-Bus services directory]) 166 [Location of D-Bus services directory])
165 LIBAUDCLIENT_LDFLAGS="-laudclient" 167 LIBAUDCLIENT_LDFLAGS="-laudclient"
166 AC_SUBST([DBUS_CFLAGS]) 168 AC_SUBST([DBUS_CFLAGS])