summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-02-27 00:15:23 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-02-27 00:15:23 (GMT)
commit726b482e11aea4920a98b39f8e5c0e457d5032b0 (patch)
tree67d64f630145ccec6c80b8411eed20ebd51339b2
parentb2c32021148f2c5d42ab2e082494fa99d786e56e (diff)
downloadcpython-726b482e11aea4920a98b39f8e5c0e457d5032b0.zip
cpython-726b482e11aea4920a98b39f8e5c0e457d5032b0.tar.gz
cpython-726b482e11aea4920a98b39f8e5c0e457d5032b0.tar.bz2
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). ........
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5a5ccd0..90684ab 100644
--- a/configure.in
+++ b/configure.in
@@ -3413,6 +3413,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,