gdb: don't use bashism in configure test

Results in configure output like:
```
checking for X... no
/var/tmp/portage/sys-devel/gdb-12.1/work/gdb-12.1/gdb/configure: 18837: test: yes: unexpected operator
checking whether to use babeltrace... auto
```

... when /bin/sh is provided by a POSIX-compliant shell, like dash,
instead of bash.
This commit is contained in:
Sam James
2022-06-09 04:37:51 +01:00
committed by Andrew Burgess
parent afd53c3c0a
commit c714aff10b
2 changed files with 2 additions and 2 deletions

2
gdb/configure vendored
View File

@@ -18760,7 +18760,7 @@ else
fi
if test "${enable_libbacktrace}" == "yes"; then
if test "${enable_libbacktrace}" = "yes"; then
LIBBACKTRACE_INC="-I$srcdir/../libbacktrace/ -I../libbacktrace/"
LIBBACKTRACE_LIB=../libbacktrace/.libs/libbacktrace.a