| diff -aruN a/configure b/configure |
| --- a/configure 2010-10-04 17:05:05.643932697 -0700 |
| +++ b/configure 2010-10-11 13:35:22.000000000 -0700 |
| @@ -20221,7 +20221,6 @@ |
| fi |
| |
| |
| -DBUS_VERSION="Disabled" |
| DBUS_SYS_DIR="Disabled" |
| DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="Disabled" |
| if test "x$HAVE_DBUS" = "xyes" ; then |
| @@ -20321,7 +20320,9 @@ |
| $as_echo "#define HAVE_DBUS 1" >>confdefs.h |
| |
| |
| - DBUS_VERSION=`$PKG_CONFIG dbus-1 --modversion` |
| + if test "z$DBUS_VERSION" = "z"; then |
| + DBUS_VERSION=`$PKG_CONFIG dbus-1 --modversion` |
| + fi |
| DBUS_VERSION_MAJOR=`echo $DBUS_VERSION | awk -F. '{print $1}'` |
| DBUS_VERSION_MINOR=`echo $DBUS_VERSION | awk -F. '{print $2}'` |
| DBUS_VERSION_MICRO=`echo $DBUS_VERSION | awk -F. '{print $3}'` |