gdb: fix bashism in configure.ac

Use '=', not '==', as configure has a #!/bin/sh shebang and must work
with non-bash shells.

Fixes: c4375bc51c
This commit is contained in:
Sam James
2025-04-23 10:57:00 +01:00
parent fba43b6e5d
commit e32b976a15
2 changed files with 2 additions and 2 deletions

2
gdb/configure vendored
View File

@@ -28991,7 +28991,7 @@ else
fi
if test "${enable_gdb_compile}" == yes; then
if test "${enable_gdb_compile}" = yes; then
$as_echo "#define HAVE_COMPILE 1" >>confdefs.h

View File

@@ -1231,7 +1231,7 @@ AC_ARG_ENABLE([gdb-compile],
[GDB_CHECK_YES_NO_VAL([$enableval], [--enable-gdb-compile])],
[enable_gdb_compile=yes])
if test "${enable_gdb_compile}" == yes; then
if test "${enable_gdb_compile}" = yes; then
AC_DEFINE(HAVE_COMPILE, 1, [Define if compiling support to gdb compile.])
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_GCC_COMPILE_OBS)"
else