diff configure.in @ 83410:fea405284011

Prevent core dumps with GTK by disabling secondary X connections there. * src/xterm.c (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary X connections. * configure.in (HAVE_GTK_MULTIDISPLAY): Disable test, unconditionally undefine. * configure: Regenerate. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-450
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 12 Dec 2005 03:15:52 +0000
parents 693e794b57bf
children d0eee3282e6b
line wrap: on
line diff
--- a/configure.in	Mon Dec 12 02:37:01 2005 +0000
+++ b/configure.in	Mon Dec 12 03:15:52 2005 +0000
@@ -2011,12 +2011,15 @@
 
   dnl  Check if we can use multiple displays with this GTK version.
   dnl  If gdk_display_open exists, assume all others are there also.
+  dnl  XXX The multidisplay feature is severely broken in current GTK
+  dnl  versions. --lorentey
   HAVE_GTK_MULTIDISPLAY=no
-  AC_CHECK_FUNCS(gdk_display_open, HAVE_GTK_MULTIDISPLAY=yes)
-  if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
-    AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1,
-              [Define to 1 if GTK can handle more than one display.])
-  fi
+  dnl AC_CHECK_FUNCS(gdk_display_open, HAVE_GTK_MULTIDISPLAY=yes)
+  dnl if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
+  dnl   AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1,
+  dnl             [Define to 1 if GTK can handle more than one display.])
+  dnl fi
+
   dnl  Check if we have the old file selection dialog.
   dnl  If gdk_display_open exists, assume all others are there also.
   HAVE_GTK_FILE_SELECTION=no