bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] FYI: removing lib/realloc.m4


From: Jim Meyering
Subject: [Bug-gnulib] FYI: removing lib/realloc.m4
Date: Tue, 30 Mar 2004 19:32:00 +0200

I just noticed that realloc.m4 now does nothing more
than AC_REQUIRE([AC_FUNC_REALLOC]).
There *is* a no-op gl_PREREQ_REALLOC function, but I doubt
that anyone will be adding new prerequisites for lib/realloc.c.
So I'm about to remove m4/realloc.m4.

2004-03-30  Jim Meyering  <address@hidden>

        * modules/realloc (Files): Remove m4/realloc.m4.
        (configure.ac): Depend on AC_FUNC_REALLOC, rather than jm_FUNC_REALLOC.

        * 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.

Index: modules/realloc
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/realloc,v
retrieving revision 1.3
diff -u -p -r1.3 realloc
--- modules/realloc     20 Jan 2003 10:02:38 -0000      1.3
+++ modules/realloc     30 Mar 2004 16:46:42 -0000
@@ -3,12 +3,11 @@ realloc() function that is glibc compati
 
 Files:
 lib/realloc.c
-m4/realloc.m4
 
 Depends-on:
 
 configure.ac:
-jm_FUNC_REALLOC
+AC_FUNC_REALLOC
 
 Makefile.am:
 
@@ -17,4 +16,3 @@ Include:
 
 Maintainer:
 Jim Meyering
-

====================================
FYI, here's the code from realloc.m4:

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], [
  :
])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]