wmemcpy: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 17:05:30 +0000 (19:05 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:15 +0000 (00:07 +0200)
* m4/wmemcpy.m4 (gl_FUNC_WMEMCPY): Move AC_LIBOBJ invocation from
here...
* modules/wmemcpy (configure.ac): ... to here.

ChangeLog
m4/wmemcpy.m4
modules/wmemcpy

index 72266e36317e0429424c64e7cad030d806d60bb5..5cbd9e46d3175c5ce3f158520c532051cb4a089f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wmemcpy: Move AC_LIBOBJ invocations to module description.
+       * m4/wmemcpy.m4 (gl_FUNC_WMEMCPY): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wmemcpy (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wmemcmp: Move AC_LIBOBJ invocations to module description.
index 60af038efd8dbf514a3d7a4bb8ec8bb8ae6acb77..917c6031a8b0035f57d7b9398419e66904aeb1dc 100644 (file)
@@ -1,4 +1,4 @@
-# wmemcpy.m4 serial 1
+# wmemcpy.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_WMEMCPY],
   AC_CHECK_FUNCS_ONCE([wmemcpy])
   if test $ac_cv_func_wmemcpy = no; then
     HAVE_WMEMCPY=0
-    AC_LIBOBJ([wmemcpy])
   fi
 ])
index 4e15fa6b0384a8d4c46adf7f18aabd179f3479a0..5d676199417fee48bb7b67f687a4158291e137ea 100644 (file)
@@ -11,6 +11,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WMEMCPY
+if test $HAVE_WMEMCPY = 0; then
+  AC_LIBOBJ([wmemcpy])
+fi
 gl_WCHAR_MODULE_INDICATOR([wmemcpy])
 
 Makefile.am: