diff modules/wcsstr @ 15160:613491a335fb

wcsstr: Move AC_LIBOBJ invocations to module description. * m4/wcsstr.m4 (gl_FUNC_WCSSTR): Move AC_LIBOBJ invocation from here... * modules/wcsstr (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 18:39:15 +0200
parents efab6978105e
children 1f14c6dd175d
line wrap: on
line diff
--- a/modules/wcsstr
+++ b/modules/wcsstr
@@ -12,6 +12,9 @@
 
 configure.ac:
 gl_FUNC_WCSSTR
+if test $HAVE_WCSSTR = 0; then
+  AC_LIBOBJ([wcsstr])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsstr])
 
 Makefile.am: