* m4/memcpy.m4 (gl_FUNC_MEMCPY): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMCPY invocations from
here...
* modules/memcpy (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ memcpy: Move AC_LIBOBJ invocations to module description.
+ * m4/memcpy.m4 (gl_FUNC_MEMCPY): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMCPY invocations from
+ here...
+ * modules/memcpy (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
memcmp: Simplify autoconf macro.
-# memcpy.m4 serial 3
+# memcpy.m4 serial 4
dnl Copyright (C) 2002, 2009-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,
AC_DEFUN([gl_FUNC_MEMCPY],
[
- AC_REPLACE_FUNCS([memcpy])
- if test $ac_cv_func_memcpy = no; then
- gl_PREREQ_MEMCPY
- fi
+ AC_CHECK_FUNCS([memcpy])
])
# Prerequisites of lib/memcpy.c.
configure.ac:
gl_FUNC_MEMCPY
+if test $ac_cv_func_memcpy = no; then
+ AC_LIBOBJ([memcpy])
+ gl_PREREQ_MEMCPY
+fi
Makefile.am: