1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[meson] More fixes related to CONFIG_NLS

This commit is contained in:
Witold Filipczyk 2021-03-28 18:56:19 +02:00
parent cba5ff4405
commit 834e644515
4 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ conf_data.set('CONFIG_LIBDOM', get_option('libdom'))
#CONFIG_XBEL_BOOKMARKS=true
#CONFIG_COOKIES=true
#CONFIG_DOM=true
if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') == 1 or conf_data.get('CONFIG_ECMASCRIPT_SMJS')
if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') or conf_data.get('CONFIG_ECMASCRIPT_SMJS')
conf_data.set('CONFIG_ECMASCRIPT', true)
else
conf_data.set('CONFIG_ECMASCRIPT', false)

View File

@ -1,4 +1,4 @@
if conf_data.get('CONFIG_NLS') == 1
if conf_data.get('CONFIG_NLS')
i18n = import('i18n')
# define GETTEXT_PACKAGE
add_project_arguments('-DGETTEXT_PACKAGE="elinks"', language:'c')

View File

@ -23,7 +23,7 @@ extern "C" {
#endif
/* NLS can be disabled through the configure --disable-nls option. */
#if CONFIG_NLS
#ifdef CONFIG_NLS
/* Get declarations of GNU message catalog functions. */
#include "intl/gettext/libgnuintl.h"

View File

@ -1,4 +1,4 @@
if conf_data.get('CONFIG_NLS') == 1
if conf_data.get('CONFIG_NLS')
subdir('gettext')
endif
srcs += files('charsets.c')