forked from Imagelibrary/binutils-gdb
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:
committed by
Andrew Burgess
parent
afd53c3c0a
commit
c714aff10b
@@ -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.])
|
||||
|
||||
Reference in New Issue
Block a user