summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-02-27 00:18:52 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-02-27 00:18:52 (GMT)
commit9d13bb8926d8d7dd02818716e88de5581b49e1e5 (patch)
treec2d62e5c28a92d81d4aa6d560e358c50fd1072d5 /configure.in
parentc2eca3d73a6611aa1e3d607427d1e1da6e3794af (diff)
downloadcpython-9d13bb8926d8d7dd02818716e88de5581b49e1e5.zip
cpython-9d13bb8926d8d7dd02818716e88de5581b49e1e5.tar.gz
cpython-9d13bb8926d8d7dd02818716e88de5581b49e1e5.tar.bz2
Merged revisions 78469 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78469 | benjamin.peterson | 2010-02-26 18:13:52 -0600 (Fri, 26 Feb 2010) | 9 lines Merged revisions 78467 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78467 | ezio.melotti | 2010-02-26 18:05:42 -0600 (Fri, 26 Feb 2010) | 1 line Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase). ........ ................
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f5d0342..1add723 100644
--- a/configure.in
+++ b/configure.in
@@ -3529,6 +3529,7 @@ AH_TEMPLATE(Py_UNICODE_SIZE,
case "$unicode_size" in
4) AC_DEFINE(Py_UNICODE_SIZE, 4) ;;
*) AC_DEFINE(Py_UNICODE_SIZE, 2) ;;
+*) AC_MSG_ERROR([invalid value for --enable-unicode. Use either ucs2 or ucs4 (lowercase).]) ;;
esac
AH_TEMPLATE(PY_UNICODE_TYPE,