annotate m4/mempcpy.m4 @ 40196:e63f5d3edab5

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:49:15 +0100
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15041
4158711b2427 mempcpy: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
1 # mempcpy.m4 serial 11
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19484
diff changeset
2 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2019 Free Software Foundation,
12559
c2cbabec01dd update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents: 11007
diff changeset
3 dnl Inc.
5600
2e91af9df415 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4436
diff changeset
4 dnl This file is free software; the Free Software Foundation
2e91af9df415 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4436
diff changeset
5 dnl gives unlimited permission to copy and/or distribute it,
2e91af9df415 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4436
diff changeset
6 dnl with or without modifications, as long as this notice is preserved.
4436
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 AC_DEFUN([gl_FUNC_MEMPCPY],
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 [
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 dnl Persuade glibc <string.h> to declare mempcpy().
9209
5a0294ce5372 Track CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS.
Eric Blake <ebb9@byu.net>
parents: 8426
diff changeset
11 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
4436
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
9264
a1355710e330 Rename string_.h to string.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9209
diff changeset
13 dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'.
8426
afb03bff7144 Require 'restrict'.
Bruno Haible <bruno@clisp.org>
parents: 7982
diff changeset
14 AC_REQUIRE([AC_C_RESTRICT])
afb03bff7144 Require 'restrict'.
Bruno Haible <bruno@clisp.org>
parents: 7982
diff changeset
15
7982
6b61aba76343 Enforce ordering constraints between gl_HEADER_STRING_H_DEFAULTS and the
Bruno Haible <bruno@clisp.org>
parents: 7944
diff changeset
16 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
15041
4158711b2427 mempcpy: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
17 AC_CHECK_FUNCS([mempcpy])
4436
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 if test $ac_cv_func_mempcpy = no; then
7944
a1d177cd9523 * doc/gnulib-tool.texi (Initial import): Update to match current
Paul Eggert <eggert@cs.ucla.edu>
parents: 7172
diff changeset
19 HAVE_MEMPCPY=0
4436
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 fi
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 ])
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 # Prerequisites of lib/mempcpy.c.
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 AC_DEFUN([gl_PREREQ_MEMPCPY], [
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 :
d556daa10e53 New module 'mempcpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 ])