summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-06-27 20:22:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-06-27 20:22:04 (GMT)
commitfd9177943ba8b43c3c5f48526a722eed79909d24 (patch)
treea67fd0577c1049500747f12ba7ed310825a2e45b /configure.in
parent793c1972fe703ab51e4a151b0dc9ac5585a6e25e (diff)
downloadcpython-fd9177943ba8b43c3c5f48526a722eed79909d24.zip
cpython-fd9177943ba8b43c3c5f48526a722eed79909d24.tar.gz
cpython-fd9177943ba8b43c3c5f48526a722eed79909d24.tar.bz2
Default to ucs2 when no argument to --enable-unicode is specified.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 80a8dfb..5fa50cf 100644
--- a/configure.in
+++ b/configure.in
@@ -1590,12 +1590,8 @@ AC_ARG_ENABLE(unicode,
if test $enable_unicode = yes
then
- # Let Py_UNICODE size depend on wchar_t size
- case "$ac_cv_sizeof_wchar_t" in
- 2) enable_unicode="ucs2";;
- 4) enable_unicode="ucs4";;
- *) enable_unicode="ucs4";; # default to UCS-4
- esac
+ # Without any arguments, Py_UNICODE defaults to two-byte mode
+ enable_unicode="ucs2"
fi
case "$enable_unicode" in