realloc-*: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / unictype / base
index e28769812f05f16da0d9b26bda554d278d37e210..96390a60d6077c8a77b63cf436f9a31f01a844d0 100644 (file)
@@ -2,21 +2,32 @@ Description:
 Base layer for Unicode classification and properties.
 
 Files:
-lib/unictype.h
+lib/unictype.in.h
+m4/libunistring-base.m4
 
 Depends-on:
 unitypes
 stdbool
 
 configure.ac:
+gl_LIBUNISTRING_LIBHEADER([0.9], [unictype.h])
 
 Makefile.am:
+BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H)
+
+unictype.h: unictype.in.h
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/unictype.in.h; \
+       } > $@-t && \
+       mv -f $@-t $@
+MOSTLYCLEANFILES += unictype.h unictype.h-t
 
 Include:
 "unictype.h"
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible