diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-01-31 11:00:18 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-02-01 21:53:14 +0000 |
commit | 19b8946dbda5fda4389ef8e3ea162c3df2b1998d (patch) | |
tree | 401377bed8a348d0ddc29020971e700d7e4cfd0d /libstdc++-v3/configure | |
parent | 8753b13a31c777cdab0265dae0b68534247908f7 (diff) | |
download | gcc-19b8946dbda5fda4389ef8e3ea162c3df2b1998d.tar.gz |
libstdc++: Improve config output for --enable-cstdio [PR104301]
Currently we just print "checking for underlying I/O to use... stdio"
unconditionally, whether configured to use stdio_pure or stdio_posix. We
should make it clear that the user's configure option chose the right
thing.
libstdc++-v3/ChangeLog:
PR libstdc++/104301
* acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Print different messages
for stdio_pure and stdio_posix options.
* configure: Regenerate.
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index de6eb1c6002..ed64b5599c8 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -16408,13 +16408,16 @@ fi CSTDIO_H=config/io/c_io_stdio.h BASIC_FILE_H=config/io/basic_file_stdio.h BASIC_FILE_CC=config/io/basic_file_stdio.cc - { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5 -$as_echo "stdio" >&6; } if test "x$enable_cstdio" = "xstdio_pure" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5 +$as_echo "stdio (without POSIX read/write)" >&6; } $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5 +$as_echo "stdio (with POSIX read/write)" >&6; } fi ;; esac |