mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[meson] Shorter
This commit is contained in:
parent
1e383b54d1
commit
2ff248f2ac
@ -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; }
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user