summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 19:06:38 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:07:15 +0200
commit6189b9d73d41c85c37c444b99088b448f164051b (patch)
treec41dab23851b4aa7f9d948747c496e66226bbc38
parent091ff859e0b874092b471e759b9343913e78f740 (diff)
downloadgnulib-6189b9d73d41c85c37c444b99088b448f164051b.tar.gz
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.
-rw-r--r--ChangeLog7
-rw-r--r--m4/wmemmove.m43
-rw-r--r--modules/wmemmove3
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cbd9e46d3..3623380f8f 100644
--- 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...
diff --git a/m4/wmemmove.m4 b/m4/wmemmove.m4
index 2b4daad195..73884c803b 100644
--- a/m4/wmemmove.m4
+++ b/m4/wmemmove.m4
@@ -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
])
diff --git a/modules/wmemmove b/modules/wmemmove
index ac03e77dc5..da1d435156 100644
--- a/modules/wmemmove
+++ b/modules/wmemmove
@@ -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: