* m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMPCPY invocations from
here...
* modules/mempcpy (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ mempcpy: Move AC_LIBOBJ invocations to module description.
+ * m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMPCPY invocations from
+ here...
+ * modules/mempcpy (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
memmove: Move AC_LIBOBJ invocations to module description.
-# mempcpy.m4 serial 10
+# mempcpy.m4 serial 11
dnl Copyright (C) 2003-2004, 2006-2007, 2009-2011 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
- AC_REPLACE_FUNCS([mempcpy])
+ AC_CHECK_FUNCS([mempcpy])
if test $ac_cv_func_mempcpy = no; then
HAVE_MEMPCPY=0
- gl_PREREQ_MEMPCPY
fi
])
configure.ac:
gl_FUNC_MEMPCPY
+if test $HAVE_MEMPCPY = 0; then
+ AC_LIBOBJ([mempcpy])
+ gl_PREREQ_MEMPCPY
+fi
gl_STRING_MODULE_INDICATOR([mempcpy])
Makefile.am: