From e688147c85543bb01a7c28a4c18548762ab9d98e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 5 Jul 2005 17:31:30 +0000 Subject: [PATCH] Use AM_CONDITIONAL unconditionally, fixes the build with DBUS disabled. 2005-07-05 Christian Persch * configure.ac: Use AM_CONDITIONAL unconditionally, fixes the build with DBUS disabled. --- ChangeLog | 7 +++++++ configure.ac | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ebc23a8..61ca9c9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-07-05 Christian Persch + + * configure.ac: + + Use AM_CONDITIONAL unconditionally, fixes the build with DBUS + disabled. + 2005-07-05 Carlos Garcia Campos Marco Pesenti Gritti diff --git a/configure.ac b/configure.ac index 70084aa4..ac182885 100644 --- a/configure.ac +++ b/configure.ac @@ -57,6 +57,7 @@ AC_ARG_ENABLE([dbus], AC_MSG_RESULT([$enable_dbus]) +DBUS_VERSION= if test "x$enable_dbus" = "xyes" ; then AC_DEFINE([ENABLE_DBUS],[1],[Define if DBUS support is enabled]) AC_DEFINE([ENABLE_METADATA],[1],[Define if metadata support is enabled]) @@ -64,11 +65,11 @@ if test "x$enable_dbus" = "xyes" ; then DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0.\([[0-9]]*\)/\1/'` AC_DEFINE_UNQUOTED(DBUS_VERSION, $DBUS_VERSION, [DBUS version.]) - AM_CONDITIONAL([DBUS_TOOL_NO_PREFIX], [test "x$DBUS_VERSION" = "x33"]) fi AM_CONDITIONAL([ENABLE_DBUS], [test "x$enable_dbus" = "xyes"]) AM_CONDITIONAL([ENABLE_METADATA], [test "x$enable_dbus" = "xyes"]) +AM_CONDITIONAL([DBUS_TOOL_NO_PREFIX], [test "x$DBUS_VERSION" = "x33"]) dnl Check for Nautilus property page build AC_ARG_ENABLE(nautilus, -- 2.43.5