From: Ezio Melotti Date: Sat, 27 Feb 2010 00:05:42 +0000 (+0000) Subject: Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase). X-Git-Tag: v2.7a4~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5820efb5c37311212b06d90ee0254cbd105a45e1;p=thirdparty%2FPython%2Fcpython.git Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase). --- diff --git a/configure.in b/configure.in index e153bca6c174..7d14bfdfe98d 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,