libstdc++: Fix syntax error in libbacktrace configuration
authorJonathan Wakely <jwakely@redhat.com>
Tue, 19 Apr 2022 08:55:30 +0000 (09:55 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 19 Apr 2022 10:58:30 +0000 (11:58 +0100)
commita2a7da1a055c98d9b4578151f273e0e7572aa605
tree2207d3386d701aac34b0481baebddf38269f8370
parent3f7c81ef14815bbb94f215d908dbd406c35c45d0
libstdc++: Fix syntax error in libbacktrace configuration

Using == instead of = causes a configuration error with dash as the
shell:

checking whether to build libbacktrace support... /home/devel/building/work/src/gcc-12-20220417/libstdc++-v3/configure: 77471: test: auto: unexpected operator
/home/devel/building/work/src/gcc-12-20220417/libstdc++-v3/configure: 77474: test: auto: unexpected operator
auto

This means we fail to change the value from "auto" to "no" and so this
test passes:
GLIBCXX_CONDITIONAL(ENABLE_BACKTRACE, [test "$enable_libstdcxx_backtrace" != no])

This leads to the libbacktrace directory being included in the build
without being configured properly, and bootstrap fails.

libstdc++-v3/ChangeLog:

* acinclude.m4 (GLIBCXX_ENABLE_BACKTRACE): Fix shell operators.
* configure: Regenerate.
libstdc++-v3/acinclude.m4
libstdc++-v3/configure