summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>2008-03-11 22:54:04 +0100
committerNicholas Clark <nick@ccl4.org>2008-03-29 11:21:46 +0000
commit1cd66f7c5bbf47a0c9c6f45b3eae3670bbe447db (patch)
tree3538962dd3dda26c4ef82112117addaac368bfb2 /Configure
parent3420cd608b369be387bfc5e65cad34a2bf659561 (diff)
downloadperl-1cd66f7c5bbf47a0c9c6f45b3eae3670bbe447db.tar.gz
Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)
Message-Id: <3B7752C8-D5A2-452C-B3E0-C453FFCBCAFA@mac.com> [but rename ******* to i_mallocmalloc.U, and then fix up all the files that Porting/checkcfgvar.pl says need i_mallocmalloc declared] p4raw-id: //depot/perl@33598
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/Configure b/Configure
index ef8e960e73..5bc904ac6b 100755
--- a/Configure
+++ b/Configure
@@ -869,6 +869,7 @@ i_limits=''
i_locale=''
i_machcthr=''
i_malloc=''
+i_mallocmalloc=''
i_math=''
i_memory=''
i_mntent=''
@@ -6550,6 +6551,10 @@ case "$inc_version_list" in
esac
$rm -f getverlist
+: see if malloc/malloc.h has to be included
+set malloc/malloc.h i_mallocmalloc
+eval $inhdr
+
: see if this is a malloc.h system
: we want a real compile instead of Inhdr because some systems have a
: malloc.h that just gives a compile error saying to use stdlib.h instead
@@ -6557,6 +6562,11 @@ echo " "
$cat >try.c <<EOCP
#include <stdlib.h>
#include <malloc.h>
+$i_mallocmalloc I_MALLOCMALLOC
+#ifdef I_MALLOCMALLOC
+# include <malloc/malloc.h>
+#endif
+
int main () { return 0; }
EOCP
set try
@@ -22353,6 +22363,7 @@ i_limits='$i_limits'
i_locale='$i_locale'
i_machcthr='$i_machcthr'
i_malloc='$i_malloc'
+i_mallocmalloc='$i_mallocmalloc'
i_math='$i_math'
i_memory='$i_memory'
i_mntent='$i_mntent'