summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2018-08-24 16:17:19 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-08-24 16:17:19 (GMT)
commit3738fadc670274ecc4649f51b52a93602820a375 (patch)
treede9743920d44b130229f599fe567156854df6912 /configure
parent498845368ff0f6238750ab1d443e7cf4ec98ccd2 (diff)
downloadcpython-3738fadc670274ecc4649f51b52a93602820a375.zip
cpython-3738fadc670274ecc4649f51b52a93602820a375.tar.gz
cpython-3738fadc670274ecc4649f51b52a93602820a375.tar.bz2
bpo-34448: Improve output of usable wchar_t check (GH-8846)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index 4de6843..0b07f0b 100755
--- a/configure
+++ b/configure
@@ -14600,19 +14600,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