]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix orphaned/nested output of configure checks
authorJonathan Wakely <jwakely@redhat.com>
Fri, 25 Nov 2022 11:40:37 +0000 (11:40 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 25 Nov 2022 15:07:29 +0000 (15:07 +0000)
commit7b648e8313fdad9b782986eabf0c25253e6ff37e
tree40c2741a0efb19b3f2bcbb3d083fdd53e0472d16
parentf54ceb2062c7fef294f85ae093914fa6c7ca35b8
libstdc++: Fix orphaned/nested output of configure checks

This moves two AC_MSG_RESULT lines for <uchar.h> features so that they
are only printed when the corresponding AC_MSG_CHECKING actually
happened. This fixes configure output like:

checking for uchar.h... no
no
checking for int64_t... yes

Also move the AC_MSG_CHECKING for libbacktrace support so it doesn't
come after AC_CHECK_HEADERS output. This fixes:

checking whether to build libbacktrace support... checking for sys/mman.h... (cached) yes
yes

libstdc++-v3/ChangeLog:

* acinclude.m4 (GLIBCXX_CHECK_UCHAR_H): Don't use AC_MSG_RESULT
unless the AC_MSG_CHECKING happened.
* configure: Regenerate.
libstdc++-v3/acinclude.m4
libstdc++-v3/configure