VirtualBox

source: kBuild/trunk/src/grep/m4/mempcpy.m4

Last change on this file was 3529, checked in by bird, 3 years ago

Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.

  • Property svn:eol-style set to LF
File size: 735 bytes
Line 
1# mempcpy.m4 serial 12
2dnl Copyright (C) 2003-2004, 2006-2007, 2009-2021 Free Software Foundation,
3dnl Inc.
4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved.
7
8AC_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_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.
24AC_DEFUN([gl_PREREQ_MEMPCPY], [
25 :
26])
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette