mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / mbrtowc
index 85cde1e394ede5d3d9f7c29c5d699aa38534e3bb..42e8de4d9b5b9e03a2e4e7be380441dc0e92940f 100644 (file)
@@ -20,6 +20,10 @@ verify          [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
 
 configure.ac:
 gl_FUNC_MBRTOWC
+if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
+  AC_LIBOBJ([mbrtowc])
+  gl_PREREQ_MBRTOWC
+fi
 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
 
 Makefile.am: