summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1997-12-23 17:39:12 +0200
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-01-08 12:28:08 +0000
commitf2b22898bb64b5219f78ff904f46b783873b7356 (patch)
tree322c129e14038f0ccf390df98b79fee29e497627 /Configure
parentfe44a5e8ded57786d86db6cd28cbac7ae376fddc (diff)
downloadperl-f2b22898bb64b5219f78ff904f46b783873b7356.tar.gz
Fix variable export and threading configuration for AIX:
Subject: [PATCH] 5.004_56: AIX 4.1.5.0: sans et avec threads p4raw-id: //depot/perl@400
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure17
1 files changed, 10 insertions, 7 deletions
diff --git a/Configure b/Configure
index e73a241ce8..b29bfab116 100755
--- a/Configure
+++ b/Configure
@@ -9966,11 +9966,16 @@ int main() {
exit(0);
}
EOCP
- : Compile and link separately because the used cc might not be
- : able to link the right CRT and libs for pthreading.
- if $cc $ccflags -c try.c >/dev/null 2>&1 &&
- $ld $ldflags -o try try$obj_ext $libs >/dev/null 2>&1; then
+ if $cc $ccflags $ldflags -o try try.c $libs >/dev/null 2>&1; then
yyy=`./try`
+ case "$yyy" in
+ detached)
+ echo "Nope, they aren't."
+ ;;
+ *)
+ echo "Yup, they are."
+ ;;
+ esac
else
echo "(I can't execute the test program--assuming they are.)"
yyy=joinable
@@ -9978,11 +9983,9 @@ EOCP
case "$yyy" in
detached)
val="$undef"
- echo "Nope, they aren't."
;;
*)
val="$define"
- echo "Yup, they are."
;;
esac
set d_pthreads_created_joinable
@@ -9990,7 +9993,7 @@ EOCP
$rm -f try try.*
fi
else
- d_pthreads_created_joinable=$undef
+ d_pthreads_created_joinable="$undef"
fi
: see whether the various POSIXish _yields exist within given cccmd