diff options
author | unknown <bar@mysql.com> | 2005-02-18 12:58:16 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2005-02-18 12:58:16 +0400 |
commit | 29fb8728e45d22241a6d225d787cd5b19e2053cb (patch) | |
tree | 33e0ed18a7ccfb0421c19e7fe64ecea96946db2e /configure.in | |
parent | 2b69b4ae4f0b29a0eceb72a404b7f52a67748875 (diff) | |
download | mariadb-git-29fb8728e45d22241a6d225d787cd5b19e2053cb.tar.gz |
A way not to compile UCA collations
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.in b/configure.in index f3e93afb72e..d6acef071a6 100644 --- a/configure.in +++ b/configure.in @@ -2811,6 +2811,24 @@ AC_DEFINE_UNQUOTED([MYSQL_DEFAULT_CHARSET_NAME], ["$default_charset"], 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 + MYSQL_CHECK_ISAM MYSQL_CHECK_BDB MYSQL_CHECK_INNODB |