diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1998-04-14 09:04:58 -0400 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-05-14 15:09:51 +0000 |
commit | c4f23d77f4b3486a36335c4460cbfd4e81e37892 (patch) | |
tree | c0a1326984d277a8c25f70e7f81765e8a96dcf11 /hints/solaris_2.sh | |
parent | 13c745c007f7ab4c05f0dd76e12e5a70c8c0e95b (diff) | |
download | perl-c4f23d77f4b3486a36335c4460cbfd4e81e37892.tar.gz |
[PATCH for 5.004_64] Configure patch Config_64-01
Date: Tue, 14 Apr 1998 13:04:58 -0400 (EDT)
Subject: [PATCH for 5.004_64] Configure patch Config_64-01-02.diff
Date: Fri, 17 Apr 1998 11:01:13 -0400 (EDT)
Subject: [PATCH for 5.004_64] Configure patch Config_64-02-03.diff
Date: Thu, 23 Apr 1998 15:03:20 -0400 (EDT)
Subject: [PATCH 5.004_64] Config_64-03-04.diff
Date: Wed, 13 May 1998 14:33:30 -0400 (EDT)
p4raw-id: //depot/perl@948
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 047e4cf3b7..744b131fad 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -123,8 +123,10 @@ cat > UU/cc.cbu <<'EOSH' # If the C compiler is gcc: # - check the fixed-includes # - check as(1) and ld(1), they should not be GNU +# (GNU ad and ld 2.8.1 and later are reportedly ok, however.) # If the C compiler is not gcc: # - check as(1) and ld(1), they should not be GNU +# (GNU ad and ld 2.8.1 and later are reportedly ok, however.) # # Watch out in case they have not set $cc. @@ -236,9 +238,25 @@ if [ "X$usethreads" = "X$define" ]; then # as -lgdbm and such like. We assume here that -lc is present in # libswanted. If that fails to be true in future, then this can be # changed to add pthread to the very end of libswanted. - set `echo X "$libswanted "| sed -e 's/ c / pthread c /'` + # sched_yield is in -lposix4 + set `echo X "$libswanted "| sed -e 's/ c / posix4 pthread c /'` shift libswanted="$*" + + # On Solaris 2.6 x86 there is a bug with sigsetjmp() and siglongjmp() + # when linked with the threads library, such that whatever positive value + # you pass to siglongjmp(), sigsetjmp() returns 1. + # Thanks to Simon Parsons <S.Parsons@ftel.co.uk> for this report. + if test "`arch`" = i86pc -a "$osvers" = 2.6; then + d_sigaction=$undef + cat << 'EOM' >&2 + +You will see a *** WHOA THERE!!! *** message from Configure for +d_sigaction. Keep the recommended value. See hints/solaris_2.sh +for more information. + +EOM + fi fi # This is just a trick to include some useful notes. |