From: Jan Djärv Date: Wed, 27 Feb 2008 18:32:13 +0000 (+0000) Subject: (HAVE_GTK): Print a warning if gtk version is < 2.10. X-Git-Tag: emacs-pretest-23.0.90~7620 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=72f51d2531972e5cb9f55cce9c4a3c50f350622d;p=emacs.git (HAVE_GTK): Print a warning if gtk version is < 2.10. --- 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