6991f29f033d04670948e6307697bb060b389a17
[deliverable/binutils-gdb.git] / gnulib / import / m4 / mempcpy.m4
1 # mempcpy.m4 serial 11
2 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2016 Free Software Foundation,
3 dnl Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
7
8 AC_DEFUN([gl_FUNC_MEMPCPY],
9 [
10 dnl Persuade glibc <string.h> to declare mempcpy().
11 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
12
13 dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'.
14 AC_REQUIRE([AC_C_RESTRICT])
15
16 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
17 AC_CHECK_FUNCS([mempcpy])
18 if test $ac_cv_func_mempcpy = no; then
19 HAVE_MEMPCPY=0
20 fi
21 ])
22
23 # Prerequisites of lib/mempcpy.c.
24 AC_DEFUN([gl_PREREQ_MEMPCPY], [
25 :
26 ])
This page took 0.029359 seconds and 3 git commands to generate.