From: Benjamin Peterson Date: Sat, 27 Feb 2010 00:13:52 +0000 (+0000) Subject: Merged revisions 78467 via svnmerge from X-Git-Tag: v3.2a1~1622 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d99eeeda1b82a40ad327547acf8c98d4fa59384;p=thirdparty%2FPython%2Fcpython.git 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). ........ --- diff --git a/configure.in b/configure.in index 4cc349113984..baee558a485f 100644 --- a/configure.in +++ b/configure.in @@ -3526,6 +3526,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,