summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-08-24 16:36:30 (GMT)
committerGitHub <noreply@github.com>2018-08-24 16:36:30 (GMT)
commit4973f767891e8eb14925a58313085e14cf6ea621 (patch)
tree0dfe77b498d11756798735a3790c0bdb8b009f81 /configure
parentc7f543520161b895796a571881da74e805d0b1eb (diff)
downloadcpython-4973f767891e8eb14925a58313085e14cf6ea621.zip
cpython-4973f767891e8eb14925a58313085e14cf6ea621.tar.gz
cpython-4973f767891e8eb14925a58313085e14cf6ea621.tar.bz2
bpo-34448: Improve output of usable wchar_t check (GH-8846)
(cherry picked from commit 3738fadc670274ecc4649f51b52a93602820a375) Co-authored-by: Michael Osipov <1983-01-06@gmx.net>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index e73d53b..7e39458 100755
--- a/configure
+++ b/configure
@@ -14682,19 +14682,21 @@ fi
$as_echo "$ac_cv_wchar_t_signed" >&6; }
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
+$as_echo_n "checking whether wchar_t is usable... " >&6; }
# wchar_t is only usable if it maps to an unsigned type
if test "$ac_cv_sizeof_wchar_t" -ge 2 \
-a "$ac_cv_wchar_t_signed" = "no"
then
- HAVE_USABLE_WCHAR_T="yes"
$as_echo "#define HAVE_USABLE_WCHAR_T 1" >>confdefs.h
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
else
- HAVE_USABLE_WCHAR_T="no usable wchar_t found"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_USABLE_WCHAR_T" >&5
-$as_echo "$HAVE_USABLE_WCHAR_T" >&6; }
# check for endianness
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5