From 72f51d2531972e5cb9f55cce9c4a3c50f350622d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Wed, 27 Feb 2008 18:32:13 +0000 Subject: [PATCH] (HAVE_GTK): Print a warning if gtk version is < 2.10. --- ChangeLog | 4 ++++ configure.in | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index f7828a50da2..3234a96ca21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-27 Jan Dj$(Q)Z(Brv + + * configure.in (HAVE_GTK): Print a warning if gtk version is < 2.10. + 2008-02-25 Dan Nicolaescu * configure.in: Print an error for systems that we think are diff --git a/configure.in b/configure.in index bbb133e4bd0..0ad8e3ffb6c 100644 --- a/configure.in +++ b/configure.in @@ -1666,6 +1666,15 @@ if test x"$pkg_check_gtk" = xyes; then HAVE_GTK=yes AC_DEFINE(HAVE_GTK, 1, [Define to 1 if using GTK.]) USE_X_TOOLKIT=none + if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then + : + else + AC_MSG_WARN([[Your version of Gtk+ will have problems with + closing open displays. This is no problem if you just use + one display, but if you use more than one and close one of them + Emacs may crash.]]) + sleep 3 + fi fi fi -- 2.39.5