crypto/gc-hmac-sha1: Fix recent regression.
[pspp] / modules / mbtowc
index 7e287680cd83983d1c03e9930bd6ed35a8394af0..c23323b3e8d108b64d1ceb6a5d975265426f3a19 100644 (file)
@@ -8,10 +8,15 @@ m4/mbtowc.m4
 
 Depends-on:
 stdlib
-mbrtowc
+mbrtowc         [test $REPLACE_MBTOWC = 1]
+wchar           [test $REPLACE_MBTOWC = 1]
 
 configure.ac:
 gl_FUNC_MBTOWC
+if test $REPLACE_MBTOWC = 1; then
+  AC_LIBOBJ([mbtowc])
+  gl_PREREQ_MBTOWC
+fi
 gl_STDLIB_MODULE_INDICATOR([mbtowc])
 
 Makefile.am: