mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #2995: do not link GModule if it is not required (save space on embedded systems).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c194851754
commit
5260d6612c
@ -483,6 +483,9 @@ AM_CONDITIONAL(USE_ASPELL, [test x"$enable_aspell" = xyes ])
|
|||||||
AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
|
AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
|
||||||
AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
|
AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
|
||||||
AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
|
AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
|
||||||
|
dnl Clarify do we really need GModule
|
||||||
|
AM_CONDITIONAL([HAVE_GMODULE], [test -n "$g_module_supported" && \
|
||||||
|
test x"$textmode_x11_support" = x"yes" -o x"$enable_aspell" = x"yes"])
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED([MC_CONFIGURE_ARGS], ["$ac_configure_args"], [MC configure arguments])
|
AC_DEFINE_UNQUOTED([MC_CONFIGURE_ARGS], ["$ac_configure_args"], [MC configure arguments])
|
||||||
|
|
||||||
|
@ -32,8 +32,6 @@ AC_DEFUN([AC_G_MODULE_SUPPORTED], [
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AM_CONDITIONAL([HAVE_GMODULE], [test x"$g_module_supported" != x])
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Try to find static libraries for glib and gmodule.
|
dnl Try to find static libraries for glib and gmodule.
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user