strtoimax: port to HP-UX 11.11
[gnulib.git] / modules / wctob
index 500ce6c..2801c2f 100644 (file)
@@ -9,9 +9,14 @@ m4/codeset.m4
 
 Depends-on:
 wchar
+wctomb          [test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1]
 
 configure.ac:
 gl_FUNC_WCTOB
+if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
+  AC_LIBOBJ([wctob])
+  gl_PREREQ_WCTOB
+fi
 gl_WCHAR_MODULE_INDICATOR([wctob])
 
 Makefile.am: