summaryrefslogtreecommitdiff
path: root/modules/unictype
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-03-26 02:39:24 +0100
committerBruno Haible <bruno@clisp.org>2011-03-26 02:39:24 +0100
commit8fd3c4c104b2cecaedac7b2963e23524ce638d77 (patch)
treebcc557791a0f9888cdf1accf33825fb1ad9831cb /modules/unictype
parentef99c1d8d3dd44dd2c25b109559af82e571ca786 (diff)
downloadgnulib-8fd3c4c104b2cecaedac7b2963e23524ce638d77.tar.gz
New module 'unictype/combining-class-byname'.
* lib/unictype.in.h (uc_combining_class_byname): New declaration. * lib/unictype/combiningclass_byname.c: New file. * lib/unictype/combiningclass_byname.gperf: New file. * modules/unictype/combining-class-byname: New file.
Diffstat (limited to 'modules/unictype')
-rw-r--r--modules/unictype/combining-class-byname35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/unictype/combining-class-byname b/modules/unictype/combining-class-byname
new file mode 100644
index 0000000000..a0524b8afc
--- /dev/null
+++ b/modules/unictype/combining-class-byname
@@ -0,0 +1,35 @@
+Description:
+Find a Unicode character canonical combining class, given its name.
+
+Files:
+lib/unictype/combiningclass_byname.c
+lib/unictype/combiningclass_byname.gperf
+
+Depends-on:
+unictype/base
+gperf
+
+configure.ac:
+gl_LIBUNISTRING_MODULE([0.9.4], [unictype/combining-class-byname])
+
+Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME
+lib_SOURCES += unictype/combiningclass_byname.c
+endif
+
+unictype/combiningclass_byname.h: unictype/combiningclass_byname.gperf
+ $(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > $(srcdir)/unictype/combiningclass_byname.h-t
+ mv $(srcdir)/unictype/combiningclass_byname.h-t $(srcdir)/unictype/combiningclass_byname.h
+BUILT_SOURCES += unictype/combiningclass_byname.h
+MOSTLYCLEANFILES += unictype/combiningclass_byname.h-t
+MAINTAINERCLEANFILES += unictype/combiningclass_byname.h
+EXTRA_DIST += unictype/combiningclass_byname.h
+
+Include:
+"unictype.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible