passfd: fix test regression on Linux
[gnulib.git] / modules / unistr / u32-mbsnlen
index 8484d7f..5342306 100644 (file)
@@ -8,9 +8,12 @@ Depends-on:
 unistr/base
 
 configure.ac:
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mbsnlen])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN
 lib_SOURCES += unistr/u32-mbsnlen.c
+endif
 
 Include:
 "unistr.h"