diff modules/wcscmp @ 15144:be44d76f2dbf

wcscmp: Move AC_LIBOBJ invocations to module description. * m4/wcscmp.m4 (gl_FUNC_WCSCMP): Move AC_LIBOBJ invocation from here... * modules/wcscmp (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 18:10:35 +0200 (2011-05-22)
parents b5843d4d8441
children
line wrap: on
line diff
--- a/modules/wcscmp
+++ b/modules/wcscmp
@@ -17,6 +17,9 @@
 
 configure.ac:
 gl_FUNC_WCSCMP
+if test $HAVE_WCSCMP = 0; then
+  AC_LIBOBJ([wcscmp])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcscmp])
 
 Makefile.am: