Commit d5df3358 authored by Bruno Haible's avatar Bruno Haible

memmove: Move AC_LIBOBJ invocations to module description.

* m4/memmove.m4 (gl_FUNC_MEMMOVE): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMMOVE invocations from
here...
* modules/memmove (configure.ac): ... to here.
parent 8e08af9e
2011-05-21 Bruno Haible <bruno@clisp.org>
memmove: Move AC_LIBOBJ invocations to module description.
* m4/memmove.m4 (gl_FUNC_MEMMOVE): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMMOVE invocations from
here...
* modules/memmove (configure.ac): ... to here.
2011-05-21 Bruno Haible <bruno@clisp.org>
memmem*: Move AC_LIBOBJ invocations to module description.
# memmove.m4 serial 3
# memmove.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,
......@@ -6,10 +6,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_MEMMOVE],
[
AC_REPLACE_FUNCS([memmove])
if test $ac_cv_func_memmove = no; then
gl_PREREQ_MEMMOVE
fi
AC_CHECK_FUNCS([memmove])
])
# Prerequisites of lib/memmove.c.
......
......@@ -15,6 +15,10 @@ Depends-on:
configure.ac:
gl_FUNC_MEMMOVE
if test $ac_cv_func_memmove = no; then
AC_LIBOBJ([memmove])
gl_PREREQ_MEMMOVE
fi
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