aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-04-19 09:55:30 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-04-19 11:58:30 +0100
commita2a7da1a055c98d9b4578151f273e0e7572aa605 (patch)
tree2207d3386d701aac34b0481baebddf38269f8370 /libstdc++-v3/configure
parent3f7c81ef14815bbb94f215d908dbd406c35c45d0 (diff)
downloadgcc-a2a7da1a055c98d9b4578151f273e0e7572aa605.zip
gcc-a2a7da1a055c98d9b4578151f273e0e7572aa605.tar.gz
gcc-a2a7da1a055c98d9b4578151f273e0e7572aa605.tar.bz2
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.
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 7a0ac40..9b94fd7 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -77468,10 +77468,10 @@ BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
$as_echo_n "checking whether to build libbacktrace support... " >&6; }
- if test "$enable_libstdcxx_backtrace" == "auto"; then
+ if test "$enable_libstdcxx_backtrace" = "auto"; then
enable_libstdcxx_backtrace=no
fi
- if test "$enable_libstdcxx_backtrace" == "yes"; then
+ if test "$enable_libstdcxx_backtrace" = "yes"; then
BACKTRACE_SUPPORTED=1
for ac_header in sys/mman.h
@@ -78563,7 +78563,7 @@ else
fi
- if test "$enable_libstdcxx_backtrace" != no; then
+ if test "$enable_libstdcxx_backtrace" = yes; then
ENABLE_BACKTRACE_TRUE=
ENABLE_BACKTRACE_FALSE='#'
else