FindBin.pm on Win32 systems
[p5sagit/p5-mst-13.2.git] / Configure
index bba0632..7070d4f 100755 (executable)
--- 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 Sun Nov 29 18:15:39 EET 1998 [metaconfig 3.0 PL70]
+# Generated on Thu Dec  3 10:57:23 EET 1998 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by jhi@iki.fi)
 
 cat >/tmp/c1$$ <<EOF
@@ -409,8 +409,8 @@ d_pause=''
 d_pipe=''
 d_poll=''
 d_portable=''
-d_pthread_create_joinable=''
-pthread_create_joinable=''
+d_old_pthread_create_joinable=''
+old_pthread_create_joinable=''
 d_pthread_yield=''
 d_sched_yield=''
 sched_yield=''
@@ -8573,18 +8573,6 @@ eval $setvar
 set nice d_nice
 eval $inlibc
 
-: see if pause exists
-set pause d_pause
-eval $inlibc
-
-: see if pipe exists
-set pipe d_pipe
-eval $inlibc
-
-: see if poll exists
-set poll d_poll
-eval $inlibc
-
 : how to create joinable pthreads
 if test "X$usethreads" = "X$define"; then
        echo " "
@@ -8598,49 +8586,61 @@ EOCP
        set try -DJOINABLE=PTHREAD_CREATE_JOINABLE
        if eval $compile; then
                echo "You seem to use PTHREAD_CREATE_JOINABLE." >&2
-               val="$undef"
-               set d_pthread_create_joinable
+               val="$undef" # Yes, undef.
+               set d_old_pthread_create_joinable
                eval $setvar
-               val=0
-               set pthread_create_joinable
+               val=""
+               set old_pthread_create_joinable
                eval $setvar
        else
                set try -DJOINABLE=PTHREAD_CREATE_UNDETACHED
                if eval $compile; then
                        echo "You seem to use PTHREAD_CREATE_UNDETACHED." >&2
                        val="$define"
-                       set d_pthread_create_joinable
+                       set d_old_pthread_create_joinable
                        eval $setvar
                        val=PTHREAD_CREATE_UNDETACHED
-                       set pthread_create_joinable
+                       set old_pthread_create_joinable
                        eval $setvar
                else            
                        set try -DJOINABLE=__UNDETACHED
                        if eval $compile; then
                                echo "You seem to use __UNDETACHED." >&2
                                val="$define"
-                               set d_pthread_create_joinable
+                               set d_old_pthread_create_joinable
                                eval $setvar
                                val=__UNDETACHED
-                               set pthread_create_joinable
+                               set old_pthread_create_joinable
                                eval $setvar
                        else
                                echo "Egads, nothing obvious found.  Guessing that you use 0." >&2
                                val="$define"
-                               set d_pthread_create_joinable
+                               set d_old_pthread_create_joinable
                                eval $setvar
                                val=0
-                               set pthread_create_joinable
+                               set old_pthread_create_joinable
                                eval $setvar
                        fi
                fi
        fi
        $rm -f try try.*
 else
-    d_pthread_create_joinable="$undef"
-    pthread_create_joinable=0
+    d_old_pthread_create_joinable="$undef"
+    old_pthread_create_joinable=""
 fi
 
+: see if pause exists
+set pause d_pause
+eval $inlibc
+
+: see if pipe exists
+set pipe d_pipe
+eval $inlibc
+
+: see if poll exists
+set poll d_poll
+eval $inlibc
+
 
 : see whether the various POSIXish _yields exist
 $cat >try.c <<EOP
@@ -10514,8 +10514,8 @@ while $test "$cont"; do
        if set $ans val -f; eval $csym; $val; then
                cont=''
        else
-                dflt=y
-                rp="I cannot find function $ans.  Use that name anyway?"
+               dflt=y
+               rp="I cannot find function $ans. Use that name anyway?"
                . ./myread
                dflt=rand
                case "$ans" in
@@ -12516,6 +12516,7 @@ d_mymalloc='$d_mymalloc'
 d_nextkey64='$d_nextkey64'
 d_nice='$d_nice'
 d_off64t='$d_off64t'
+d_old_pthread_create_joinable='$d_old_pthread_create_joinable'
 d_oldpthreads='$d_oldpthreads'
 d_oldsock='$d_oldsock'
 d_open3='$d_open3'
@@ -12527,7 +12528,6 @@ d_phostname='$d_phostname'
 d_pipe='$d_pipe'
 d_poll='$d_poll'
 d_portable='$d_portable'
-d_pthread_create_joinable='$d_pthread_create_joinable'
 d_pthread_yield='$d_pthread_yield'
 d_pwage='$d_pwage'
 d_pwchange='$d_pwchange'
@@ -12817,6 +12817,7 @@ nonxs_ext='$nonxs_ext'
 nroff='$nroff'
 o_nonblock='$o_nonblock'
 obj_ext='$obj_ext'
+old_pthread_create_joinable='$old_pthread_create_joinable'
 optimize='$optimize'
 orderlib='$orderlib'
 osname='$osname'
@@ -12840,7 +12841,6 @@ prefixexp='$prefixexp'
 privlib='$privlib'
 privlibexp='$privlibexp'
 prototype='$prototype'
-pthread_create_joinable='$pthread_create_joinable'
 ptrsize='$ptrsize'
 randbits='$randbits'
 randfunc='$randfunc'