diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-04-23 11:49:22 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-04-23 11:49:22 +0000 |
commit | c9e22107fb658b00ac9b041a1e06a5549dcd7181 (patch) | |
tree | 6339b08dafa4cf1d9e367e9e265dde366ac46613 | |
parent | d7917d3377ea2a20589a329698eef33ec92fb9ae (diff) | |
download | mailutils-c9e22107fb658b00ac9b041a1e06a5549dcd7181.tar.gz mailutils-c9e22107fb658b00ac9b041a1e06a5549dcd7181.tar.bz2 |
Adjusted for use with new AC_CHECK_ macros.
-rw-r--r-- | lib/xmalloc.c | 8 | ||||
-rw-r--r-- | m4/Makefile.am | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 2bd5bedbe..a71dc3584 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -48,12 +48,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 +# error "you must run the autoconf test for a properly working malloc -- see malloc.m4" #endif -#ifndef HAVE_DONE_WORKING_REALLOC_CHECK -you must run the autoconf test for a properly working realloc -- see realloc.m4 +#ifndef HAVE_REALLOC +# error "you must run the autoconf test for a properly working realloc -- see realloc.m4" #endif /* Exit value when the requested amount of memory is not available. diff --git a/m4/Makefile.am b/m4/Makefile.am index e1d10ccde..3a62e1f59 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -23,9 +23,8 @@ EXTRA_DIST = \ enable.m4 \ gssapi.m4 \ guile.m4 \ - malloc.m4 \ + lib.m4 \ mu_libobj.m4 \ - realloc.m4 \ regex.m4 \ utmp.m4 \ tls.m4 \ |