summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,