From: Perl 5 Porters Date: Fri, 15 Mar 1996 08:24:00 +0000 (+0000) Subject: Update X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4bf4dbb313bb52738a09662a2b9a2474c1ea92ff;p=p5sagit%2Fp5-mst-13.2.git Update --- diff --git a/hints/irix_6_2.sh b/hints/irix_6_2.sh index 68fa4c3..111c4ad 100644 --- a/hints/irix_6_2.sh +++ b/hints/irix_6_2.sh @@ -12,6 +12,9 @@ cc="cc -32" ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -Olimit 3000" #ccflags="$ccflags -Olimit 3000" # this line builds perl but not tk (beta 8) lddlflags="-32 -shared" +# Configure would suggest the default -Kpic, which won't work for SGI. +# Configure will respect this blank hint value instead. +cccdlflags=' ' # We don't want these libraries. Anyone know why? set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` diff --git a/hints/linux.sh b/hints/linux.sh index cbeafcb..4e13fd3 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -19,10 +19,14 @@ case "$prefix" in '') prefix='/usr' ;; esac -# Perl users typically expect BSD style signal handling. # This may not be needed in 5.002 since sigaction is used. # gcc-2.6.3 defines _G_HAVE_BOOL to 1, but doesn't actually supply bool. -ccflags="-D__USE_BSD_SIGNAL -Dbool=char -DHAS_BOOL $ccflags" +ccflags="-Dbool=char -DHAS_BOOL $ccflags" + +# BSD compatability library no longer needed +set `echo X "$libswanted "| sed -e 's/ bsd / /'` +shift +libswanted="$*" # Configure may fail to find lstat() since it's a static/inline # function in . @@ -64,6 +68,7 @@ if ${cc:-gcc} try.c >/dev/null 2>&1 && ./a.out; then You appear to have ELF support. I'll try to use it for dynamic loading. EOM + nm_so_opt='-dynamic' else cat <<'EOM' diff --git a/hints/os2.sh b/hints/os2.sh index d4fb71d..43b4b8e 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -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