striconveh: Don't malloc memory if the result buffer is sufficient.
[gnulib.git] / modules / uniconv / u16-conv-from-enc
index 27247dd..ca84ed9 100644 (file)
@@ -14,10 +14,13 @@ unistr/u8-mblen
 unistr/u16-mblen
 
 configure.ac:
-AC_REQUIRE([AC_C_BIGENDIAN])
+AC_REQUIRE([gl_BIGENDIAN])
+gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-conv-from-enc])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC
 lib_SOURCES += uniconv/u16-conv-from-enc.c
+endif
 
 Include:
 "uniconv.h"