]> granicus.if.org Git - python/commitdiff
Merged revisions 78467 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Sat, 27 Feb 2010 00:15:23 +0000 (00:15 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 27 Feb 2010 00:15:23 +0000 (00:15 +0000)
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).
........

configure.in

index 5a5ccd007ae96c2fd52eeda847d6625a9f7211ac..90684abbfebc7e95bc7c366397b39328b9fd81f5 100644 (file)
@@ -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,