perl 5.003: hints/bsdos.sh
[p5sagit/p5-mst-13.2.git] / hints / os2.sh
index c972665..43b4b8e 100644 (file)
@@ -39,7 +39,7 @@ if [ "$emxaout" != "" ]; then
     d_fork='define'
     lddlflags='-Zdll'
     ldflags='-Zexe'
-    ccflags='-DDOSISH -DNO_SYS_ALLOC -DOS2=2 -DEMBED -I.'
+    ccflags='-DDOSISH -DNO_SYS_ALLOC -DOS2=2 -DEMBED -I. -DPACK_MALLOC'
     use_clib='c'
 else
     d_shrplib='define'
@@ -49,8 +49,9 @@ else
     plibext='.lib'
     d_fork='undef'
     lddlflags='-Zdll -Zomf -Zcrtdll'
-    ldflags='-Zexe -Zomf -Zcrtdll'
-    ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I.'
+    # Recursive regmatch may eat 2.5M of stack alone.
+    ldflags='-Zexe -Zomf -Zcrtdll -Zstack 32000'
+    ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I. -DPACK_MALLOC'
     use_clib='c_import'
 fi
 
@@ -84,10 +85,6 @@ usedl='define'
 
 #cppflags='-DDOSISH -DOS2=2 -DEMBED -I.'
 
-# This variables taken from recommended config.sh
-# [Does Configure get it wrong?]
-alignbytes='8'
-
 # for speedup: (some patches to ungetc are also needed):
 # Note that without this guy tests 8 and 10 of io/tell.t fail, with it 11 fails