Thomas Huth <[email protected]> writes:

> From: Thomas Huth <[email protected]>
>
> Since --gdb has recently been added to meson_options.txt, the help
> text shows up twice in the output of "./configure --help":
>
>  $ ./configure --help | grep gdb
>    --gdb=GDB-path           gdb to use for gdbstub tests [/usr/bin/gdb]
>    --gdb=VALUE              Path to GDB

It's a shame to loose the default value - is there anyway for the meson
version to show the auto-detected value?

>
> Remove the entry from "configure" to fix this duplication.
>
> Fixes: b46b3818cf8 ("tests/functional: Provide GDB to the functional tests")
> Signed-off-by: Thomas Huth <[email protected]>
> ---
>  configure | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/configure b/configure
> index ef5157cf903..093dd7b01eb 100755
> --- a/configure
> +++ b/configure
> @@ -899,7 +899,6 @@ Advanced options (experts only):
>    --cpu=CPU                Build for host CPU [$cpu]
>    --disable-containers     don't use containers for cross-building
>    --container-engine=TYPE  which container engine to use [$container_engine]
> -  --gdb=GDB-path           gdb to use for gdbstub tests [$gdb_bin]
>  EOF
>    meson_options_help
>  cat << EOF

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to