diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2002-04-08 16:34:27 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-08 13:57:12 +0000 |
commit | cce6a20761e2ac993439d678c20406b67e840584 (patch) | |
tree | 222a8f39cf113e28701893373fb00b4696ff8c3f /Configure | |
parent | 9285ede26a5273c426e650e344bce458842c76c0 (diff) | |
download | perl-cce6a20761e2ac993439d678c20406b67e840584.tar.gz |
[ PATCH ] Re: no snapshot today, no RC1 Monday
From: "H.Merijn Brand" <h.m.brand@hccnet.nl>
Message-Id: <20020408141403.CE45.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@15807
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Fri Apr 5 20:56:35 EET DST 2002 [metaconfig 3.0 PL70] +# Generated on Mon Apr 8 17:56:15 EET DST 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -9111,6 +9111,14 @@ while test $# -ge 2; do $define) echo "#include <$2>" >> try.c ;; literal) echo "$2" >> try.c ;; esac + # Extra magic for the benefit of systems that need pthread.h + # to be included early to correctly detect threadsafe functions. + # Such functions must guarantee themselves, though, that the usethreads + # and i_pthread have been defined, before calling protochk. + if test "$usethreads" = "$define" -a "$i_pthread" = "$define" -a "$pthread_h_first" = "$define" -a "$pthread_h_done" = ""; then + echo "#include <pthread.h>" >> try.c + pthread_h_done=yes + fi shift 2 done test "$prototype" = "$define" && echo '#define CAN_PROTOTYPE' >> try.c @@ -9294,6 +9302,10 @@ case "$d_tm_tm_gmtoff" in *) echo "No, it doesn't." ;; esac +: see if POSIX threads are available +set pthread.h i_pthread +eval $inhdr + : see if asctime_r exists set asctime_r d_asctime_r eval $inlibc @@ -13815,13 +13827,6 @@ $rm -f try.* try set d_off64_t eval $setvar -: see if POSIX threads are available -set pthread.h i_pthread -eval $inhdr - - - - : how to create joinable pthreads if test "X$usethreads" = "X$define" -a "X$i_pthread" = "X$define"; then echo " " |