summaryrefslogtreecommitdiff
path: root/m4/malloc.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-31 07:34:59 +0000
committerJim Meyering <jim@meyering.net>2004-03-31 07:34:59 +0000
commit58917bb2982d84f02258fc8f3e232d369c7f15e4 (patch)
treee99449259824d9c2d5ac538c4ffe8efc156be6ef /m4/malloc.m4
parent6e9405a068eabd607da1b526b68e4373ae43da71 (diff)
downloadgnulib-58917bb2982d84f02258fc8f3e232d369c7f15e4.tar.gz
* realloc.m4: Remove file, since now it does no more than
AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via the `configure.ac' section of module/realloc. * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
Diffstat (limited to 'm4/malloc.m4')
-rw-r--r--m4/malloc.m425
1 files changed, 0 insertions, 25 deletions
diff --git a/m4/malloc.m4 b/m4/malloc.m4
deleted file mode 100644
index 2452acf0bd..0000000000
--- a/m4/malloc.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-# malloc.m4 serial 7
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
-dnl This file is free software, distributed under the terms of the GNU
-dnl General Public License. As a special exception to the GNU General
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
-
-dnl From Jim Meyering.
-dnl Determine whether malloc accepts 0 as its argument.
-dnl If it doesn't, arrange to use the replacement function.
-
-AC_DEFUN([jm_FUNC_MALLOC],
-[
- AC_REQUIRE([AC_FUNC_MALLOC])
- dnl autoconf < 2.57 used the symbol ac_cv_func_malloc_works.
- if test X"$ac_cv_func_malloc_0_nonnull" = Xno || test X"$ac_cv_func_malloc_works" = Xno; then
- gl_PREREQ_MALLOC
- fi
-])
-
-# Prerequisites of lib/malloc.c.
-AC_DEFUN([gl_PREREQ_MALLOC], [
- :
-])