Commit fc0e6aa2 authored by joerg@mysql.com's avatar joerg@mysql.com

Manual transfer of the change in "configure.in" (4.1) to "config/ac-macros/character_sets.m4".

parent 198b6117
...@@ -359,16 +359,23 @@ case $default_charset in ...@@ -359,16 +359,23 @@ case $default_charset in
;; ;;
utf8) utf8)
default_charset_default_collation="utf8_general_ci" default_charset_default_collation="utf8_general_ci"
define(UTFC1, utf8_general_ci utf8_bin) if test "$default_collation" = "utf8_general_cs"; then
define(UTFC2, utf8_czech_ci utf8_danish_ci) # For those who explicitly desire "utf8_general_cs", support it,
define(UTFC3, utf8_estonian_ci utf8_icelandic_ci) # and then also set the CPP switch enabling that code.
define(UTFC4, utf8_latvian_ci utf8_lithuanian_ci) UTFC="utf8_general_cs"
define(UTFC5, utf8_persian_ci utf8_polish_ci utf8_romanian_ci) AC_DEFINE([HAVE_UTF8_GENERAL_CS], [1], [certain Japanese customer])
define(UTFC6, utf8_slovak_ci utf8_slovenian_ci) else
define(UTFC7, utf8_spanish2_ci utf8_spanish_ci) define(UTFC1, utf8_general_ci utf8_bin)
define(UTFC8, utf8_swedish_ci utf8_turkish_ci) define(UTFC2, utf8_czech_ci utf8_danish_ci)
define(UTFC9, utf8_unicode_ci) define(UTFC3, utf8_estonian_ci utf8_icelandic_ci)
UTFC="UTFC1 UTFC2 UTFC3 UTFC4 UTFC5 UTFC6 UTFC7 UTFC8 UTFC9" define(UTFC4, utf8_latvian_ci utf8_lithuanian_ci)
define(UTFC5, utf8_persian_ci utf8_polish_ci utf8_romanian_ci)
define(UTFC6, utf8_slovak_ci utf8_slovenian_ci)
define(UTFC7, utf8_spanish2_ci utf8_spanish_ci)
define(UTFC8, utf8_swedish_ci utf8_turkish_ci)
define(UTFC9, utf8_unicode_ci)
UTFC="UTFC1 UTFC2 UTFC3 UTFC4 UTFC5 UTFC6 UTFC7 UTFC8 UTFC9"
fi
default_charset_collations="$UTFC" default_charset_collations="$UTFC"
;; ;;
*) *)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment