annotate m4/eealloc.m4 @ 40057:b06060465f09

maint: Run 'make update-copyright'
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 01 Jan 2019 00:25:11 +0100
parents 10eb9086bea0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17102
9e72d3927af1 binary-io, eealloc, mbfile, mbiter, mbutil, xsize: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents: 16201
diff changeset
1 # eealloc.m4 serial 3
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19484
diff changeset
2 dnl Copyright (C) 2003, 2009-2019 Free Software Foundation, Inc.
5585
adff74659d81 Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents: 4919
diff changeset
3 dnl This file is free software; the Free Software Foundation
adff74659d81 Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents: 4919
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
adff74659d81 Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents: 4919
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
4919
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 AC_DEFUN([gl_EEALLOC],
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 [
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 AC_REQUIRE([gl_EEMALLOC])
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 AC_REQUIRE([gl_EEREALLOC])
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 ])
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 AC_DEFUN([gl_EEMALLOC],
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 [
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 _AC_FUNC_MALLOC_IF(
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 [gl_cv_func_malloc_0_nonnull=1],
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 [gl_cv_func_malloc_0_nonnull=0])
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 5585
diff changeset
18 AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull],
4919
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 [If malloc(0) is != NULL, define this to 1. Otherwise define this
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 to 0.])
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 ])
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 AC_DEFUN([gl_EEREALLOC],
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 [
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 _AC_FUNC_REALLOC_IF(
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 [gl_cv_func_realloc_0_nonnull=1],
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 [gl_cv_func_realloc_0_nonnull=0])
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 5585
diff changeset
28 AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull],
4919
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 to 0.])
759a578edd98 New module 'eealloc'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 ])