unistr/u*-strstr: Fix dependencies.
[gnulib.git] / modules / unistr / u8-cmp
index 8b8bc4d..0c5bc51 100644 (file)
@@ -9,9 +9,12 @@ unistr/base
 memcmp
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-cmp.c])
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-cmp])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNISTR_U8_CMP
+lib_SOURCES += unistr/u8-cmp.c
+endif
 
 Include:
 "unistr.h"