From: Jim Meyering Date: Thu, 21 Nov 2002 08:43:42 +0000 (+0000) Subject: Adjust to work with new autoconf macros, AC_FUNC_MALLOC X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f20861d0ef8383725ceb95772aee532c2c26ff;p=pspp Adjust to work with new autoconf macros, AC_FUNC_MALLOC and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC. --- 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.