summaryrefslogtreecommitdiff
path: root/config/ac-macros
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-02-01 11:50:43 +0400
committerunknown <bar@mysql.com>2005-02-01 11:50:43 +0400
commitb95c2d357800867423b2fa98b66fb11ef947ce88 (patch)
treeba8ed62e8d3ad1aec8a66e232e8d0503e34d5d96 /config/ac-macros
parent6e0691f54f8fe396bd5f724c0725f42e211d4450 (diff)
downloadmariadb-git-b95c2d357800867423b2fa98b66fb11ef947ce88.tar.gz
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
Diffstat (limited to 'config/ac-macros')
-rw-r--r--config/ac-macros/character_sets.m417
1 files changed, 17 insertions, 0 deletions
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