From a1448efecc00007c5b8bedf95198487f5fc5a8e8 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Fri, 18 Nov 2005 22:46:21 +0000 Subject: * don't try to display dbus version when it's not installed git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1008 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e1a8981..a8284e1 100644 --- a/configure.ac +++ b/configure.ac @@ -352,9 +352,11 @@ AC_ARG_ENABLE(dbus, AC_ARG_WITH(dbus-sys, AS_HELP_STRING([--with-dbus-sys=], [where D-BUS system.d directory is])) AC_ARG_WITH(dbus-system-socket, AS_HELP_STRING([--with-dbus-system-address=
], [where the dbus system socket is, you probably want to put unix:path= at the start])) +DBUS_VERSION="Not installed!" if test "x$HAVE_DBUS" = "xyes" ; then AC_DEFINE(HAVE_DBUS, 1, [Whether we have D-BUS or not]) + DBUS_VERSION=`$PKG_CONFIG dbus-1 --modversion` PKG_CHECK_MODULES(DBUS, [ dbus-1 >= 0.34 ]) DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_API_SUBJECT_TO_CHANGE" AC_SUBST(DBUS_CFLAGS) @@ -730,7 +732,7 @@ echo " localstatedir: ${localstatedir} avahi socket: ${avahi_socket} dbus-1 system.d dir: ${DBUS_SYS_DIR} - dbus-1 version: `pkg-config dbus-1 --modversion` + dbus-1 version: ${DBUS_VERSION} dbus-1 system socket ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS} compiler: ${CC} cflags: ${CFLAGS} -- cgit