tcgetsid: Detect declaration correctly.
[gnulib.git] / modules / unictype / category-P
index 9f224af..4d961a8 100644 (file)
@@ -9,9 +9,12 @@ Depends-on:
 unictype/base
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [unictype/categ_P.c])
+gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-P])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P
+lib_SOURCES += unictype/categ_P.c
+endif
 
 Include:
 "unictype.h"