mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04: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_XBEL_BOOKMARKS=true
|
||||||
#CONFIG_COOKIES=true
|
#CONFIG_COOKIES=true
|
||||||
#CONFIG_DOM=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)
|
conf_data.set('CONFIG_ECMASCRIPT', true)
|
||||||
else
|
else
|
||||||
conf_data.set('CONFIG_ECMASCRIPT', false)
|
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')
|
i18n = import('i18n')
|
||||||
# define GETTEXT_PACKAGE
|
# define GETTEXT_PACKAGE
|
||||||
add_project_arguments('-DGETTEXT_PACKAGE="elinks"', language:'c')
|
add_project_arguments('-DGETTEXT_PACKAGE="elinks"', language:'c')
|
||||||
|
@ -23,7 +23,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* NLS can be disabled through the configure --disable-nls option. */
|
/* NLS can be disabled through the configure --disable-nls option. */
|
||||||
#if CONFIG_NLS
|
#ifdef CONFIG_NLS
|
||||||
|
|
||||||
/* Get declarations of GNU message catalog functions. */
|
/* Get declarations of GNU message catalog functions. */
|
||||||
#include "intl/gettext/libgnuintl.h"
|
#include "intl/gettext/libgnuintl.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
if conf_data.get('CONFIG_NLS') == 1
|
if conf_data.get('CONFIG_NLS')
|
||||||
subdir('gettext')
|
subdir('gettext')
|
||||||
endif
|
endif
|
||||||
srcs += files('charsets.c')
|
srcs += files('charsets.c')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user