X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Configure;h=45c47617b7156f6a4f52f6162a87f1bcb439a5de;hb=8f1f23e8b15dc90b39e5be39711437f27f72b526;hp=dd46fb8287c0890c11920f0259f1c126287fc450;hpb=2b941da944ac32ea06934284ab45d176ab756e8d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Configure b/Configure index dd46fb8..45c4761 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Mon Feb 22 10:52:12 EET 1999 [metaconfig 3.0 PL70] +# Generated on Mon Mar 15 18:36:13 EET 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <&4 d_gethname="$define" call=gethostname -elif set uname val -f d_uname; eval $csym; $val; then +fi +if set uname val -f d_uname; eval $csym; $val; then if ./xenix; then $cat <<'EOM' uname() was found, but you're running xenix, and older versions of xenix @@ -8083,7 +8086,9 @@ EOM else echo 'uname() found.' >&4 d_uname="$define" - call=uname + case "$call" in + '') call=uname ;; + esac fi fi case "$d_gethname" in @@ -8767,8 +8772,18 @@ eval $inlibc set nice d_nice eval $inlibc -: how to create joinable pthreads +: see if POSIX threads are available if test "X$usethreads" = "X$define"; then + set pthread.h i_pthread + eval $inhdr +else + i_pthread="$undef" +fi + + + +: how to create joinable pthreads +if test "X$usethreads" = "X$define" -a "X$i_pthread" = "X$define"; then echo " " echo "Checking what constant to use for creating joinable pthreads..." >&4 $cat >try.c <<'EOCP' @@ -10287,6 +10302,9 @@ case "$crosscompile" in ''|[nN]*) crosscompile="$undef" ;; esac +case "$osname" in +next|rhapsody) multiarch="$define" ;; +esac case "$multiarch" in ''|[nN]*) multiarch="$undef" ;; esac @@ -10295,7 +10313,9 @@ esac echo " " case "$crosscompile$multiarch" in *$define*) -You seem to be cross-compiling, skipping the memory alignment check. + $cat <Cppsym.true : now check the C compiler for additional symbols +postprocess_cc_v='' +case "$osname" in +aix) postprocess_cc_v="|$tr , ' '" ;; +esac $cat >ccsym <tmp.c <&1\` +for i in \`$cc -v -c tmp.c 2>&1 $postprocess_cc_v\` do case "\$i" in -D*) echo "\$i" | $sed 's/^-D//';; @@ -11965,6 +11991,7 @@ do done $rm -f try.c EOS +unset postprocess_cc_v chmod +x ccsym $eunicefix ccsym ./ccsym > ccsym1.raw @@ -12972,6 +12999,7 @@ i_netdb='$i_netdb' i_neterrno='$i_neterrno' i_niin='$i_niin' i_poll='$i_poll' +i_pthread='$i_pthread' i_pwd='$i_pwd' i_rpcsvcdbm='$i_rpcsvcdbm' i_sfio='$i_sfio'