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 e153bca..7d14bfd 100644
--- a/configure.in
+++ b/configure.in
@@ -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,