diff --git a/meson.build b/meson.build index 4b4083318..7ad055eeb 100644 --- a/meson.build +++ b/meson.build @@ -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 extern int _nl_msg_cat_cntr; void main() { _nl_msg_cat_cntr = 1; } diff --git a/src/mime/backend/meson.build b/src/mime/backend/meson.build index 9c879fd2d..21b0682f0 100644 --- a/src/mime/backend/meson.build +++ b/src/mime/backend/meson.build @@ -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')