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

ChangeLog
m4/wcscpy.m4
modules/wcscpy

index f6cccbaf2164951f462e336c5834ed7abba57d16..7ea4b60e53d989492e71ae809d23943ff646c3d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcscpy: Move AC_LIBOBJ invocations to module description.
+       * m4/wcscpy.m4 (gl_FUNC_WCSCPY): Move AC_LIBOBJ invocation from here...
+       * modules/wcscpy (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcscoll: Move AC_LIBOBJ invocations to module description.
index dcd845bf219b0c960ae421b83d56b5477cc160ca..39f537afac01199f0b64b089ea728c8f9f7e45e2 100644 (file)
@@ -1,4 +1,4 @@
-# wcscpy.m4 serial 1
+# wcscpy.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_WCSCPY],
   AC_CHECK_FUNCS_ONCE([wcscpy])
   if test $ac_cv_func_wcscpy = no; then
     HAVE_WCSCPY=0
-    AC_LIBOBJ([wcscpy])
   fi
 ])
index 89e30c17a59252c40ee3c537e5e14c1527eafe0f..e96c9e42db0013a029efa6d42162d3c35a5424b5 100644 (file)
@@ -17,6 +17,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCSCPY
+if test $HAVE_WCSCPY = 0; then
+  AC_LIBOBJ([wcscpy])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcscpy])
 
 Makefile.am: