[Python-checkins] r78467 - python/trunk/configure.in

ezio.melotti python-checkins at python.org
Sat Feb 27 01:05:42 CET 2010


Author: ezio.melotti
Date: Sat Feb 27 01:05:42 2010
New Revision: 78467

Log:
Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).

Modified:
   python/trunk/configure.in

Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Sat Feb 27 01:05:42 2010
@@ -3682,6 +3682,7 @@
 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,


More information about the Python-checkins mailing list