Mercurial > hg > octave-lojdl > gnulib-hg
annotate m4/mbslen.m4 @ 14473:acd1454e6a45
New module 'unictype/category-LC'.
* lib/unictype.in.h (UC_CATEGORY_MASK_LC): New enumeration value.
(UC_CATEGORY_LC): New declaration.
(UC_CASED_LETTER): New macro.
* lib/gen-uni-tables.c (is_category_LC): New function.
(output_categories): Also handle category LC.
(UC_CATEGORY_MASK_LC): New enumeration value.
(general_category_byname): Also handle category LC.
* lib/unictype/categ_LC.c: New file.
* lib/unictype/categ_LC.h: New file, automatically generated.
* lib/unictype/categ_name.c (uc_general_category_name): Also handle
category LC.
* lib/unictype/categ_byname.c (uc_general_category_byname): Likewise.
* modules/unictype/category-LC: New file.
* modules/unictype/category-all (Depends-on): Add unictype/category-LC.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 25 Mar 2011 20:23:43 +0100 |
parents | 97fc9a21a8fb |
children | 8250f2777afc |
rev | line source |
---|---|
13060 | 1 # mbslen.m4 serial 2 |
14079
97fc9a21a8fb
maint: update almost all copyright ranges to include 2011
Jim Meyering <meyering@redhat.com>
parents:
13060
diff
changeset
|
2 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. |
12602
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 dnl This file is free software; the Free Software Foundation |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 dnl gives unlimited permission to copy and/or distribute it, |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 dnl with or without modifications, as long as this notice is preserved. |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
13060 | 7 AC_DEFUN([gl_FUNC_MBSLEN], |
12602
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 [ |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 AC_CHECK_FUNCS_ONCE([mbslen]) |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 if test $ac_cv_func_mbslen = yes; then |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 HAVE_MBSLEN=1 |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 else |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 HAVE_MBSLEN=0 |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 fi |
e6c17971ef92
mbslen: Avoid collision with system function.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 ]) |