diff options
Diffstat (limited to 'modules/uniwidth/base')
-rw-r--r-- | modules/uniwidth/base | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/uniwidth/base b/modules/uniwidth/base index 2b78dca0eb..4d0cb08402 100644 --- a/modules/uniwidth/base +++ b/modules/uniwidth/base @@ -2,15 +2,26 @@ Description: Base layer for Unicode string width. Files: -lib/uniwidth.h +lib/uniwidth.in.h lib/localcharset.h +m4/libunistring-base.m4 Depends-on: unitypes configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h]) Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H) + +uniwidth.h: uniwidth.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uniwidth.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t Include: "uniwidth.h" |