tests: improve diagnostic when an assertion fails
[gnulib.git] / modules / wcspbrk
index b7aefa4..f729486 100644 (file)
@@ -18,6 +18,9 @@ wcschr          [test $HAVE_WCSPBRK = 0]
 
 configure.ac:
 gl_FUNC_WCSPBRK
+if test $HAVE_WCSPBRK = 0; then
+  AC_LIBOBJ([wcspbrk])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcspbrk])
 
 Makefile.am: