configure: Improve configure output for C++ Compiler

Change configure output for C++ Compiler from

...
checking -finput-charset=ascii in testing... -finput-charset=ascii
checking -finput-charset=ascii in testing... -finput-charset=ascii
...

to

...
checking -finput-charset=ascii in testing... -finput-charset=ascii
checking g++ -finput-charset=ascii in testing... -finput-charset=ascii
...

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
H.J. Lu 2024-12-23 08:11:58 +08:00
parent 33aeb88c5b
commit 15ab68bf1a
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -8071,8 +8071,8 @@ test-config-cflags-finput-charset-ascii = $libc_cv_test_cflags_finput_charset_as
saved_CXX="$CXX"
CXX="$TEST_CXX"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking -finput-charset=ascii in testing" >&5
printf %s "checking -finput-charset=ascii in testing... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $CXX -finput-charset=ascii in testing" >&5
printf %s "checking $CXX -finput-charset=ascii in testing... " >&6; }
if test ${libc_cv_test_cxxflags_finput_charset_ascii+y}
then :
printf %s "(cached) " >&6

View File

@ -1610,7 +1610,7 @@ LIBC_CONFIG_VAR(test-config-cflags-finput-charset-ascii,
$libc_cv_test_cflags_finput_charset_ascii)
dnl Check if TEST_CXX supports -finput-charset=ascii.
LIBC_TRY_TEST_CXX_OPTION([-finput-charset=ascii],
LIBC_TRY_TEST_CXX_OPTION([$CXX -finput-charset=ascii],
[-c -Werror -finput-charset=ascii],
libc_cv_test_cxxflags_finput_charset_ascii,
[libc_cv_test_cxxflags_finput_charset_ascii="-finput-charset=ascii"],