From 93f20861d0ef8383725ceb95772aee532c2c26ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 21 Nov 2002 08:43:42 +0000 Subject: [PATCH] Adjust to work with new autoconf macros, AC_FUNC_MALLOC and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC. --- lib/xmalloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/xmalloc.c b/lib/xmalloc.c index df95ecdf6b..6fab82909e 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -41,12 +41,12 @@ void free (); # define EXIT_FAILURE 1 #endif -#ifndef HAVE_DONE_WORKING_MALLOC_CHECK -"you must run the autoconf test for a properly working malloc -- see malloc.m4" +#ifndef HAVE_MALLOC +"you must run the autoconf test for a properly working malloc" #endif -#ifndef HAVE_DONE_WORKING_REALLOC_CHECK -"you must run the autoconf test for a properly working realloc --see realloc.m4" +#ifndef HAVE_REALLOC +"you must run the autoconf test for a properly working realloc" #endif /* Exit value when the requested amount of memory is not available. -- 2.30.2