Commit 828b8906 authored by Bruno Haible's avatar Bruno Haible

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.
parent d5df3358
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
......@@ -14,10 +14,9 @@ AC_DEFUN([gl_FUNC_MEMPCPY],
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
])
......
......@@ -11,6 +11,10 @@ string
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment