changeset 91537:cdc08d88f810

configure.in: Enable D-Bus by default.
author Michael Olson <mwolson@gnu.org>
date Tue, 05 Feb 2008 05:13:13 +0000
parents 99cac7a703b5
children 42cb2d4e741a
files ChangeLog configure configure.in
diffstat 3 files changed, 21 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 05 04:30:27 2008 +0000
+++ b/ChangeLog	Tue Feb 05 05:13:13 2008 +0000
@@ -1,3 +1,7 @@
+2008-02-05  Tom Tromey  <tromey@redhat.com>
+
+	* configure.in (--with-dbus): Default to enabled.
+
 2008-02-05  Kenichi Handa  <handa@ni.aist.go.jp>
 
 	* INSTALL (Complex Text Layout support libraries): New section.
--- a/configure	Tue Feb 05 04:30:27 2008 +0000
+++ b/configure	Tue Feb 05 05:13:13 2008 +0000
@@ -1371,7 +1371,7 @@
   --with-carbon           use Carbon GUI on Mac OS X. This is unsupported!
   --without-gpm           don't use -lgpm for mouse support on a GNU/Linux
                           console
-  --with-dbus             compile with D-Bus support
+  --without-dbus          don't compile with D-Bus support
   --with-pkg-config-prog=PATH
                           Path to pkg-config for finding GTK and librsvg
   --with-x                use the X Window System
@@ -2099,7 +2099,7 @@
 if test "${with_dbus+set}" = set; then
   withval=$with_dbus;
 else
-      with_dbus=no
+     with_dbus=yes
 fi
 
 
@@ -18636,11 +18636,13 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <stdio.h>
-int
-main ()
-{
-return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
+#include <sys/types.h> /* for off_t */
+     #include <stdio.h>
+int
+main ()
+{
+int (*fp) (FILE *, off_t, int) = fseeko;
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   ;
   return 0;
 }
@@ -18680,11 +18682,13 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #define _LARGEFILE_SOURCE 1
-#include <stdio.h>
-int
-main ()
-{
-return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
+#include <sys/types.h> /* for off_t */
+     #include <stdio.h>
+int
+main ()
+{
+int (*fp) (FILE *, off_t, int) = fseeko;
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   ;
   return 0;
 }
--- a/configure.in	Tue Feb 05 04:30:27 2008 +0000
+++ b/configure.in	Tue Feb 05 05:13:13 2008 +0000
@@ -147,7 +147,7 @@
 OPTION_DEFAULT_OFF([carbon],[use Carbon GUI on Mac OS X.  This is unsupported!])
 
 OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console])
-OPTION_DEFAULT_OFF([dbus],[compile with D-Bus support])
+OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support])
 
 AC_ARG_WITH([pkg-config-prog],dnl
 [AS_HELP_STRING([--with-pkg-config-prog=PATH],