mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] More fixes related to CONFIG_NLS
This commit is contained in:
parent
cba5ff4405
commit
834e644515
@ -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)
|
||||
|
@ -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')
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
if conf_data.get('CONFIG_NLS') == 1
|
||||
if conf_data.get('CONFIG_NLS')
|
||||
subdir('gettext')
|
||||
endif
|
||||
srcs += files('charsets.c')
|
||||
|
Loading…
x
Reference in New Issue
Block a user