1 ?RCS: $Id: i_malloc.U,v 3.1 2003/01/21 18:51:51 merijn Exp $
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic License,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?RCS: $Log: i_malloc.U,v $
12 ?RCS: Revision 3.1 2003/01/21 18:51:51 merijn
13 ?RCS: Moved to modified: Ihdr replaced with Compile
15 ?RCS: $Log: i_malloc.U,v $
16 ?RCS: Revision 3.0 1993/08/18 12:08:21 ram
17 ?RCS: Baseline for dist 3.0 netwide release.
19 ?MAKE:i_malloc: cat rm_try Compile Setvar i_mallocmalloc
20 ?MAKE: -pick add $@ %<
22 ?S: This variable conditionally defines the I_MALLOC symbol, and indicates
23 ?S: whether a C program should include <malloc.h>.
26 ?C: This symbol, if defined, indicates to the C program that it should
27 ?C: include <malloc.h>.
29 ?H:#$i_malloc I_MALLOC /**/
32 : see if this is a malloc.h system
33 : we want a real compile instead of Inhdr because some systems have a
34 : malloc.h that just gives a compile error saying to use stdlib.h instead
39 #$i_mallocmalloc I_MALLOCMALLOC
41 # include <malloc/malloc.h>
44 int main () { return 0; }
47 if eval $compile; then
48 echo "<malloc.h> found." >&4
51 echo "<malloc.h> NOT found." >&4