From 56fee444e249781b36def6ed980dff82faae22ad Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 29 Jan 1999 05:05:56 +0000 Subject: Use the 3-argument forms of AC_DEFINE* macros. --- m4/malloc.m4 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'm4/malloc.m4') diff --git a/m4/malloc.m4 b/m4/malloc.m4 index 85d62efa8..893c6e21d 100644 --- a/m4/malloc.m4 +++ b/m4/malloc.m4 @@ -1,14 +1,9 @@ -#serial 2 +#serial 3 dnl From Jim Meyering. dnl Determine whether malloc accepts 0 as its argument. dnl If it doesn't, arrange to use the replacement function. dnl -dnl If you use this macro in a package, you should -dnl add the following two lines to acconfig.h: -dnl /* Define to rpl_malloc if the replacement function should be used. */ -dnl #undef malloc -dnl AC_DEFUN(jm_FUNC_MALLOC, [ @@ -33,6 +28,7 @@ AC_DEFUN(jm_FUNC_MALLOC, ]) if test $jm_cv_func_working_malloc = no; then LIBOBJS="$LIBOBJS malloc.o" - AC_DEFINE_UNQUOTED(malloc, rpl_malloc) + AC_DEFINE_UNQUOTED(malloc, rpl_malloc, + [Define to rpl_malloc if the replacement function should be used.]) fi ]) -- cgit v1.2.3-54-g00ecf