forked from Imagelibrary/binutils-gdb
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:
2
gdb/configure
vendored
2
gdb/configure
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user