aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-09 04:37:51 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-06-13 13:12:31 +0100
commitc714aff10b1a5542dac657d86eb56140945bbd65 (patch)
treeafbb831a5a0ad351889d7a0298b97a5296e70cd3 /gdb/configure.ac
parentafd53c3c0a22528b9e56f599c4fd2cf6585ed8fa (diff)
downloadfsf-binutils-gdb-c714aff10b1a5542dac657d86eb56140945bbd65.zip
fsf-binutils-gdb-c714aff10b1a5542dac657d86eb56140945bbd65.tar.gz
fsf-binutils-gdb-c714aff10b1a5542dac657d86eb56140945bbd65.tar.bz2
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.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index e3c19bc..bf03b87 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -2113,7 +2113,7 @@ AC_ARG_ENABLE([libbacktrace],
esac],
enable_libbacktrace=yes)
-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
AC_DEFINE(HAVE_LIBBACKTRACE, 1, [Define if libbacktrace is being used.])