diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-03-15 08:24:00 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-03-15 08:24:00 +0000 |
commit | 4bf4dbb313bb52738a09662a2b9a2474c1ea92ff (patch) | |
tree | 2973c057735ebbdc4c23283f7fa979c604299e16 | |
parent | a2c75dc2571a8447475cb62d22a998ab5aa3d54b (diff) | |
download | perl-4bf4dbb313bb52738a09662a2b9a2474c1ea92ff.tar.gz |
Update
-rw-r--r-- | hints/irix_6_2.sh | 3 | ||||
-rw-r--r-- | hints/linux.sh | 9 | ||||
-rw-r--r-- | hints/os2.sh | 7 |
3 files changed, 14 insertions, 5 deletions
diff --git a/hints/irix_6_2.sh b/hints/irix_6_2.sh index 68fa4c34a1..111c4ad02c 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 cbeafcb5de..4e13fd36bd 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 <sys/stat.h>. @@ -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 d4fb71df2a..43b4b8ea49 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 |