mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
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:
parent
afd53c3c0a
commit
c714aff10b
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -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
|
||||
|
||||
|
@ -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.])
|
||||
|
Loading…
Reference in New Issue
Block a user