summaryrefslogtreecommitdiffstats
path: root/gl/m4/eealloc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/eealloc.m4')
-rw-r--r--gl/m4/eealloc.m431
1 files changed, 0 insertions, 31 deletions
diff --git a/gl/m4/eealloc.m4 b/gl/m4/eealloc.m4
deleted file mode 100644
index cb3e08fe..00000000
--- a/gl/m4/eealloc.m4
+++ /dev/null
@@ -1,31 +0,0 @@
1# eealloc.m4 serial 3
2dnl Copyright (C) 2003, 2009-2023 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_EEALLOC],
8[
9 AC_REQUIRE([gl_EEMALLOC])
10 AC_REQUIRE([gl_EEREALLOC])
11])
12
13AC_DEFUN([gl_EEMALLOC],
14[
15 _AC_FUNC_MALLOC_IF(
16 [gl_cv_func_malloc_0_nonnull=1],
17 [gl_cv_func_malloc_0_nonnull=0])
18 AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull],
19 [If malloc(0) is != NULL, define this to 1. Otherwise define this
20 to 0.])
21])
22
23AC_DEFUN([gl_EEREALLOC],
24[
25 _AC_FUNC_REALLOC_IF(
26 [gl_cv_func_realloc_0_nonnull=1],
27 [gl_cv_func_realloc_0_nonnull=0])
28 AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull],
29 [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this
30 to 0.])
31])