passfd: fix test regression on Linux
[gnulib.git] / modules / uniconv / u16-conv-to-enc
index 04d4cb6..287076f 100644 (file)
@@ -9,13 +9,19 @@ Depends-on:
 uniconv/base
 striconveha
 uniconv/u8-conv-to-enc
-unistr/u16-to-u8
+unistr/u16-mbtoucr
+unistr/u8-uctomb
+unistr/u16-mblen
+unistr/u8-mblen
 
 configure.ac:
-AC_REQUIRE([AC_C_BIGENDIAN])
+AC_REQUIRE([gl_BIGENDIAN])
+gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-conv-to-enc])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC
 lib_SOURCES += uniconv/u16-conv-to-enc.c
+endif
 
 Include:
 "uniconv.h"