From 2500b37c4a343cab915f29709716f397021febed Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 1 Feb 2005 11:50:43 +0400 Subject: character_sets.m4: --with-uca configure.in argument. The rest of the changes are pending from 4.1 tree config/ac-macros/character_sets.m4: --with-uca configure.in argument. The rest of the changes are pending from 4.1 tree --- config/ac-macros/character_sets.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config') diff --git a/config/ac-macros/character_sets.m4 b/config/ac-macros/character_sets.m4 index c83cc63a8aa..6efd31fdb05 100644 --- a/config/ac-macros/character_sets.m4 +++ b/config/ac-macros/character_sets.m4 @@ -405,3 +405,20 @@ AC_DEFINE_UNQUOTED([MYSQL_DEFAULT_CHARSET_NAME], ["$default_charset"], [Define the default charset name]) AC_DEFINE_UNQUOTED([MYSQL_DEFAULT_COLLATION_NAME], ["$default_collation"], [Define the default charset name]) + +# Shall we build the UCA-based Unicode collations +AC_ARG_WITH(uca, + [ --without-uca Skip building of the national Unicode collations.], + [with_uca=$withval], + [with_uca=yes] +) + +AC_MSG_CHECKING([whether to compile national Unicode collations]) + +if test "$with_uca" = "yes" +then + AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_UCA_COLLATIONS], [1], [national Unicode collations]) +else + AC_MSG_RESULT(no) +fi -- cgit v1.2.1