1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[gettext] autotools part

This commit is contained in:
Witold Filipczyk 2021-08-08 22:04:52 +02:00
parent 66305fcb50
commit 7f6156f2c5
3 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,7 @@ CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
CONFIG_GNUTLS = @CONFIG_GNUTLS@
CONFIG_GNUTLS_OPENSSL_COMPAT = @CONFIG_GNUTLS_OPENSSL_COMPAT@
CONFIG_GEMINI = @CONFIG_GEMINI@
CONFIG_GETTEXT = @CONFIG_GETTEXT@
CONFIG_GOPHER = @CONFIG_GOPHER@
CONFIG_GPM = @CONFIG_GPM@
CONFIG_GZIP = @CONFIG_GZIP@

View File

@ -1381,6 +1381,8 @@ dnl AC_MSG_RESULT($cf_result)
# ===================================================================
# Compile-time features control
# ===================================================================
EL_ARG_ENABLE(CONFIG_GETTEXT, gettext, [System gettext],
[ --enable-gettext use System gettext for Native Language Support])
EL_ARG_ENABLE(CONFIG_COOKIES, cookies, [Cookies],
[ --disable-cookies disable cookie support])

View File

@ -1,10 +1,13 @@
top_builddir=../..
include $(top_builddir)/Makefile.config
ifeq ($(CONFIG_GETTEXT), no)
SUBDIRS-$(CONFIG_NLS) += gettext
endif
OBJS = charsets.o
OBJS-$(CONFIG_GETTEXT) += libintl.o
OBJS-$(CONFIG_UTF8) += width.o
include $(top_srcdir)/Makefile.lib