On 02/02/2026 18.41, Alex Bennée wrote:
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

As the probed value is of interest we want to keep the configure text
so make meson-buildoptions able to handle deferring to configure.

Fixes: b46b3818cf8 ("tests/functional: Provide GDB to the functional tests")
Signed-off-by: Alex Bennée <[email protected]>

---
AJB:
   - This is an alternative take on Thomas's approach in 
[email protected]
---
  scripts/meson-buildoptions.py | 9 ++++++++-
  scripts/meson-buildoptions.sh | 1 -
  2 files changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Thomas Huth <[email protected]>
Tested-by: Thomas Huth <[email protected]>


Reply via email to