Use dbus even if the binding tool is not found

The bindings are shipped anyway.
This commit is contained in:
Mukund Sivaraman 2008-08-17 12:39:37 +00:00
parent 04d9cc1d54
commit 4777a845b6
1 changed files with 3 additions and 3 deletions

View File

@ -163,6 +163,9 @@ if test "x$build_gtk" = "xyes"; then
[use_dbus_glib=no]) [use_dbus_glib=no])
AC_SUBST(DBUS_GLIB_LIBS) AC_SUBST(DBUS_GLIB_LIBS)
AC_SUBST(DBUS_GLIB_CFLAGS) AC_SUBST(DBUS_GLIB_CFLAGS)
if test "x$use_dbus_glib" = "xyes"; then
AC_DEFINE([HAVE_DBUS_GLIB], 1)
fi
if test "x$use_dbus_glib" = "xyes"; then if test "x$use_dbus_glib" = "xyes"; then
AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool, no) AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool, no)
if test "x$DBUS_BINDING_TOOL" = xno; then if test "x$DBUS_BINDING_TOOL" = xno; then
@ -170,9 +173,6 @@ if test "x$build_gtk" = "xyes"; then
use_dbus_glib="no (dbus-binding-tool not found)" use_dbus_glib="no (dbus-binding-tool not found)"
fi fi
fi fi
if test "x$use_dbus_glib" = "xyes"; then
AC_DEFINE([HAVE_DBUS_GLIB], 1)
fi
fi fi
AC_CHECK_HEADERS([libintl.h]) AC_CHECK_HEADERS([libintl.h])