diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2020-12-10 19:04:12 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-02 21:03:09 +0100 |
commit | 0e8e77d487b3d8ae33158e61c30e1fe5c753a114 (patch) | |
tree | c96bd571673e31f02e00165afe261c6c7434cc5b /configure | |
parent | f3890e71ac646ffef2216b5b1d6cb1728982880c (diff) |
configure: move gettext detection to meson.build
This will allow meson to honour -Dauto_features=disabled later.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201210190417.31673-4-alex.bennee@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -448,7 +448,7 @@ libdaxctl="" meson="" ninja="" skip_meson=no -gettext="" +gettext="auto" fuse="auto" fuse_lseek="auto" @@ -1016,9 +1016,9 @@ for opt do ;; --enable-vnc) vnc="enabled" ;; - --disable-gettext) gettext="false" + --disable-gettext) gettext="disabled" ;; - --enable-gettext) gettext="true" + --enable-gettext) gettext="enabled" ;; --oss-lib=*) oss_lib="$optarg" ;; @@ -2849,19 +2849,6 @@ if test "$xen_pci_passthrough" != "disabled"; then fi ########################################## -# gettext probe -if test "$gettext" != "false" ; then - if has xgettext; then - gettext=true - else - if test "$gettext" = "true" ; then - feature_not_found "gettext" "Install xgettext binary" - fi - gettext=false - fi -fi - -########################################## # X11 probe if $pkg_config --exists "x11"; then have_x11=yes |