From 5a92bf096a0ab0c7af32ca84c054e907469da19c Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 27 Jan 2010 09:55:22 +0000 Subject: [PATCH] Ticket #1980: increased minimal required version of GLib up to 2.8. g_try_new, g_try_new0 and g_try_malloc0 macros are available in Glib >= 2.8. Signed-off-by: Andrew Borodin --- configure.ac | 4 ++-- doc/HACKING | 2 +- doc/INSTALL | 2 +- doc/README | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index ef04bb9ca..3d06789bd 100644 --- a/configure.ac +++ b/configure.ac @@ -48,9 +48,9 @@ AC_ARG_WITH([glib_static], glib_found=no -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [glib_found=yes], [:]) +PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.8], [glib_found=yes], [:]) if test x"$glib_found" = xno; then - AC_MSG_ERROR([glib-2.0 not found or version too old (must be >= 2.6)]) + AC_MSG_ERROR([glib-2.0 not found or version too old (must be >= 2.8)]) fi PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes]) diff --git a/doc/HACKING b/doc/HACKING index 0eaf195b2..a31c2ab20 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -19,7 +19,7 @@ required: Autoconf 2.52 and above (latest is recommended) Automake 1.5 and above (latest is recommended) Gettext 0.11.5 and above -Glib 2.6 and above (2.14 and higher is recommended) +Glib 2.8 and above (2.14 and higher is recommended) Full list of requirements you can see at: http://www.midnight-commander.org/wiki/doc/buildAndInstall/req diff --git a/doc/INSTALL b/doc/INSTALL index dc8c1c07e..70bb0e675 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -395,7 +395,7 @@ get glib from ftp://ftp.gtk.org/pub/glib/ -Minimal version of glib: 2.6.x +Minimal version of glib: 2.8.x Recommended version: 2.14.x and higher. Newer versions may work, but haven't been tested. diff --git a/doc/README b/doc/README index cb5895089..cf5ea7a60 100644 --- a/doc/README +++ b/doc/README @@ -29,7 +29,7 @@ Dependencies ------------ To compile the GNU Midnight Commander, you need to have a copy of the -glib library version 2.6.x or newer, available at +glib library version 2.8.x or newer, available at ftp://ftp.gtk.org/pub/glib/