2N/A# mempcpy.m4 serial 10
2N/Adnl Copyright (C) 2003-2004, 2006-2007, 2009-2010 Free Software Foundation,
2N/Adnl Inc.
2N/Adnl This file is free software; the Free Software Foundation
2N/Adnl gives unlimited permission to copy and/or distribute it,
2N/Adnl with or without modifications, as long as this notice is preserved.
2N/A
2N/AAC_DEFUN([gl_FUNC_MEMPCPY],
2N/A[
2N/A dnl Persuade glibc <string.h> to declare mempcpy().
2N/A AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2N/A
2N/A dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'.
2N/A AC_REQUIRE([AC_C_RESTRICT])
2N/A
2N/A AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
2N/A AC_REPLACE_FUNCS([mempcpy])
2N/A if test $ac_cv_func_mempcpy = no; then
2N/A HAVE_MEMPCPY=0
2N/A gl_PREREQ_MEMPCPY
2N/A fi
2N/A])
2N/A
2N/A# Prerequisites of lib/mempcpy.c.
2N/AAC_DEFUN([gl_PREREQ_MEMPCPY], [
2N/A :
2N/A])