wctype-h: Fix last change.
[gnulib.git] / modules / unistr / base
index caad00f..ed8f8c7 100644 (file)
@@ -2,28 +2,34 @@ Description:
 Base layer for elementary Unicode string functions.
 
 Files:
-lib/unistr.h
+lib/unistr.in.h
+m4/libunistring-base.m4
 
 Depends-on:
 unitypes
+snippet/unused-parameter
 stdbool
 inline
-utf8-ucs4
-utf16-ucs4
-utf8-ucs4-safe
-utf16-ucs4-safe
-ucs4-utf8
-ucs4-utf16
 
 configure.ac:
+gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
 
 Makefile.am:
+BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
+
+unistr.h: unistr.in.h
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/unistr.in.h; \
+       } > $@-t && \
+       mv -f $@-t $@
+MOSTLYCLEANFILES += unistr.h unistr.h-t
 
 Include:
 "unistr.h"
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible