gdb: don't use bashism in configure test
authorSam James <sam@gentoo.org>
Thu, 9 Jun 2022 03:37:51 +0000 (04:37 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 13 Jun 2022 12:12:31 +0000 (13:12 +0100)
commitc714aff10b1a5542dac657d86eb56140945bbd65
treeafbb831a5a0ad351889d7a0298b97a5296e70cd3
parentafd53c3c0a22528b9e56f599c4fd2cf6585ed8fa
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.
gdb/configure
gdb/configure.ac