changeset 4987:f33498f10f7d

* 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.
author Jim Meyering <jim@meyering.net>
date Wed, 31 Mar 2004 07:34:59 +0000
parents cd55ad6d3cab
children 1c861d98d24f
files m4/ChangeLog m4/malloc.m4 m4/realloc.m4
diffstat 3 files changed, 10 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,10 @@
+2004-03-30  Jim Meyering  <jim@meyering.net>
+
+	* 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.
+
 2004-03-30  Paul Eggert  <eggert@twinsun.com>
 
 	* inttostr.m4: New file.
@@ -285,12 +292,12 @@
 	* idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
 	or for string.h.
 	* long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
-	* mkpath.m4 (gl_MAKEPATH): Do not check for string.h or standard
+	* makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
 	C headers.
 	* md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
 	memcpy.
 	* sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
-	* memrchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
+	* memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
 	* memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
 	* memcoll.m4 (gl_MEMCOLL): Likewise.
 	* memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
@@ -299,7 +306,7 @@
 	* mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
 	* modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
 	* mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
-	C orders, or for string.h.
+	C headers, or for string.h.
 	* obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
 	(gl_PREREQ_OBSTACK): Don't check for stdlib.h.
 	* path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
deleted file mode 100644
--- 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], [
-  :
-])
deleted file mode 100644
--- a/m4/realloc.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-# realloc.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 realloc works when both arguments are 0.
-dnl If it doesn't, arrange to use the replacement function.
-
-AC_DEFUN([jm_FUNC_REALLOC],
-[
-  AC_REQUIRE([AC_FUNC_REALLOC])
-  dnl autoconf < 2.57 used the symbol ac_cv_func_realloc_works.
-  if test X"$ac_cv_func_realloc_0_nonnull" = Xno || test X"$ac_cv_func_realloc_works" = Xno; then
-    gl_PREREQ_REALLOC
-  fi
-])
-
-# Prerequisites of lib/realloc.c.
-AC_DEFUN([gl_PREREQ_REALLOC], [
-  :
-])