Ticket #922: patch-configure.ac

File patch-configure.ac, 752 bytes (added by mezz, 13 years ago)
Line 
1--- configure.ac.orig   2008-05-08 11:44:14.000000000 -0500
2+++ configure.ac        2008-05-08 11:47:39.000000000 -0500
3@@ -91,6 +91,9 @@
4               [want_gtk=${enableval}],
5               [want_gtk=${have_gtk}])
6 build_gtk=no
7+use_gio=no
8+use_libnotify=no
9+use_dbus_glib=no
10 if test "x$want_gtk" = "xyes" ; then
11     if test "x$have_gtk" = "xyes"; then
12       build_gtk=yes
13@@ -102,6 +105,7 @@
14 AC_SUBST(GTK_LIBS)
15 AC_SUBST(GTK_CFLAGS)
16 
17+if test "x$build_gtk" = "xyes"; then
18 PKG_CHECK_MODULES([GIO],
19                   [gio-2.0 >= $GIO_MINIMUM],
20                   [use_gio=yes],
21@@ -138,6 +142,7 @@
22 if test "x$use_dbus_glib" = "xyes"; then
23     AC_DEFINE([HAVE_DBUS_GLIB], 1)
24 fi
25+fi
26 
27 AC_CHECK_HEADERS([libintl.h])
28 IT_PROG_INTLTOOL([0.23],[no-xml])