* m4/wcsxfrm.m4 (gl_FUNC_WCSXFRM): Move AC_LIBOBJ invocation from
here...
* modules/wcsxfrm (configure.ac): ... to here.
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcsxfrm: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsxfrm.m4 (gl_FUNC_WCSXFRM): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcsxfrm (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcstok: Move AC_LIBOBJ invocations to module description.
 
-# wcsxfrm.m4 serial 1
+# wcsxfrm.m4 serial 2
 dnl Copyright (C) 2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
   AC_CHECK_FUNCS_ONCE([wcsxfrm])
   if test $ac_cv_func_wcsxfrm = no; then
     HAVE_WCSXFRM=0
-    AC_LIBOBJ([wcsxfrm])
   fi
 ])
 
 
 configure.ac:
 gl_FUNC_WCSXFRM
+if test $HAVE_WCSXFRM = 0; then
+  AC_LIBOBJ([wcsxfrm])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsxfrm])
 
 Makefile.am: