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

ChangeLog
m4/wmemmove.m4
modules/wmemmove

index 5cbd9e4..3623380 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
+       wmemmove: Move AC_LIBOBJ invocations to module description.
+       * m4/wmemmove.m4 (gl_FUNC_WMEMMOVE): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wmemmove (configure.ac): ... to here.
+
+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...
index 2b4daad..73884c8 100644 (file)
@@ -1,4 +1,4 @@
-# wmemmove.m4 serial 1
+# wmemmove.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_WMEMMOVE],
   AC_CHECK_FUNCS_ONCE([wmemmove])
   if test $ac_cv_func_wmemmove = no; then
     HAVE_WMEMMOVE=0
-    AC_LIBOBJ([wmemmove])
   fi
 ])
index ac03e77..da1d435 100644 (file)
@@ -11,6 +11,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WMEMMOVE
+if test $HAVE_WMEMMOVE = 0; then
+  AC_LIBOBJ([wmemmove])
+fi
 gl_WCHAR_MODULE_INDICATOR([wmemmove])
 
 Makefile.am: