mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #1420: ./configure issue: Glib
Added check for result of PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [glib_found=yes], [:]) Now if glib not found or if glib have version less than 2.6 configure script will exit with error message. Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
4c68d3ae47
commit
c8e6c2ef29
@ -50,6 +50,9 @@ AC_ARG_WITH([glib_static],
|
||||
glib_found=no
|
||||
|
||||
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [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)])
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes])
|
||||
GLIB_LIBDIR="`$PKG_CONFIG --variable=libdir glib-2.0`"
|
||||
|
Loading…
Reference in New Issue
Block a user