NEWS.stable: log cherry-pick [24bfc89]->[1d71dc7] strtoumax: Avoid link error on...
[gnulib.git] / modules / unistr / u8-strncpy
index 02e16de..cc4af9b 100644 (file)
@@ -8,9 +8,12 @@ Depends-on:
 unistr/base
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-strncpy.c])
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strncpy])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY
+lib_SOURCES += unistr/u8-strncpy.c
+endif
 
 Include:
 "unistr.h"