]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 27 Feb 2010 00:05:42 +0000 (00:05 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 27 Feb 2010 00:05:42 +0000 (00:05 +0000)
configure.in

index e153bca6c17432f6207bde8cc84423abda10c9ae..7d14bfdfe98ddf6f7c0fe18a14b97dfcedb4c63f 100644 (file)
@@ -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,