1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[meson] Shorter

This commit is contained in:
Witold Filipczyk 2024-12-31 11:13:48 +01:00
parent 1e383b54d1
commit 2ff248f2ac
2 changed files with 2 additions and 2 deletions

View File

@ -1132,7 +1132,7 @@ if compiler.compiles('int a; typeof(a) b;', name: 'typeof')
conf_data.set('HAVE_TYPEOF', 1)
endif
if conf_data.get('CONFIG_GETTEXT') and conf_data.get('CONFIG_NLS')
if conf_data.get('CONFIG_GETTEXT')
code = '''#include <libintl.h>
extern int _nl_msg_cat_cntr;
void main() { _nl_msg_cat_cntr = 1; }

View File

@ -35,7 +35,7 @@ if conf_data.get('CONFIG_MAILCAP') and (get_option('test-mailcap') or get_option
meson.project_source_root() / 'src/intl/gettext/textdomain.c')
endif
if conf_data.get('CONFIG_NLS') and conf_data.get('CONFIG_GETTEXT')
if conf_data.get('CONFIG_GETTEXT')
mailcap_cache_files += files(
meson.project_source_root() / 'src/intl/libintl.c',
meson.project_source_root() / 'src/util/env.c')