wcsxfrm: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 16:42:48 +0000 (18:42 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:12 +0000 (00:07 +0200)
* m4/wcsxfrm.m4 (gl_FUNC_WCSXFRM): Move AC_LIBOBJ invocation from
here...
* modules/wcsxfrm (configure.ac): ... to here.

ChangeLog
m4/wcsxfrm.m4
modules/wcsxfrm

index 5a838af..ab675ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
        * m4/wcstok.m4 (gl_FUNC_WCSTOK): Move AC_LIBOBJ invocation from here...
        * modules/wcstok (configure.ac): ... to here.
index 2fd6ec1..e891e40 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_WCSXFRM],
   AC_CHECK_FUNCS_ONCE([wcsxfrm])
   if test $ac_cv_func_wcsxfrm = no; then
     HAVE_WCSXFRM=0
-    AC_LIBOBJ([wcsxfrm])
   fi
 ])
index c5a1ee9..e432e75 100644 (file)
@@ -12,6 +12,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCSXFRM
+if test $HAVE_WCSXFRM = 0; then
+  AC_LIBOBJ([wcsxfrm])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsxfrm])
 
 Makefile.am: