(HAVE_GTK): Print a warning if gtk version is < 2.10.

This commit is contained in:
Jan Djärv 2008-02-27 18:32:13 +00:00
parent 396dd4da4d
commit 72f51d2531
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2008-02-27 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>
* configure.in (HAVE_GTK): Print a warning if gtk version is < 2.10.
2008-02-25 Dan Nicolaescu <dann@ics.uci.edu>
* configure.in: Print an error for systems that we think are

View file

@ -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