summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-02-27 00:05:42 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-02-27 00:05:42 (GMT)
commit5820efb5c37311212b06d90ee0254cbd105a45e1 (patch)
tree1d9efd6f4f3f9aefc357a78e25fbaf92cfac9017 /configure.in
parent84424f1532818ed011a09255f373dc895f85e3ca (diff)
downloadcpython-5820efb5c37311212b06d90ee0254cbd105a45e1.zip
cpython-5820efb5c37311212b06d90ee0254cbd105a45e1.tar.gz
cpython-5820efb5c37311212b06d90ee0254cbd105a45e1.tar.bz2
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 e153bca..7d14bfd 100644
--- a/configure.in
+++ b/configure.in
@@ -3682,6 +3682,7 @@ ucs2) unicode_size="2"
ucs4) unicode_size="4"
AC_DEFINE(Py_UNICODE_SIZE,4)
;;
+*) AC_MSG_ERROR([invalid value for --enable-unicode. Use either ucs2 or ucs4 (lowercase).]) ;;
esac
AH_TEMPLATE(PY_UNICODE_TYPE,