aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2008-02-27 18:32:13 +0000
committerJan Djärv <[email protected]>2008-02-27 18:32:13 +0000
commit72f51d2531972e5cb9f55cce9c4a3c50f350622d (patch)
treef954dbf3d15a7e246fadde1b8ebbb1b8d63b71db /configure.in
parent396dd4da4dfce2735c4ba8c19a6688360a9fa128 (diff)
(HAVE_GTK): Print a warning if gtk version is < 2.10.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index bbb133e4bd..0ad8e3ffb6 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