From d1bf56759b1367c243c91a83857ea76f9ccc1faf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 16 Jun 2017 09:16:28 -0400 Subject: [PATCH] meson: add -Didn=yes|no option --- meson.build | 2 ++ meson_options.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index f932d06a53..407d7ea08e 100644 --- a/meson.build +++ b/meson.build @@ -1009,6 +1009,7 @@ foreach pair : [['utmp', 'HAVE_UTMP'], ['ima', 'HAVE_IMA'], ['smack', 'HAVE_SMACK'], ['gshadow', 'ENABLE_GSHADOW'], + ['idn', 'ENABLE_IDN'], ] if get_option(pair[0]) @@ -2448,6 +2449,7 @@ foreach tuple : [ ['microhttpd'], ['gnutls'], ['libcurl'], + ['idn'], ['libidn2'], ['libidn'], ['libiptc'], diff --git a/meson_options.txt b/meson_options.txt index da4a932ff2..0de217744f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -197,6 +197,8 @@ option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libcryptsetup support') option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libcurl support') +option('idn', type : 'boolean', + description : 'use IDN when printing host names') option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libidn2 support') option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],