mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
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 <aborodin@vmail.ru>
This commit is contained in:
parent
837295b62a
commit
5a92bf096a
@ -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])
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user