summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-07-16 10:14:24 +0000
committerNicholas Clark <nick@ccl4.org>2004-07-16 10:14:24 +0000
commite81c5c2a4504e8ed2983ba7b4e9c704c6ea45a05 (patch)
tree3d765755bed84e77e529f3462122b7da6a098658 /Configure
parent8043fdafce9b64db18484779a548e4f4adefc5ed (diff)
downloadperl-e81c5c2a4504e8ed2983ba7b4e9c704c6ea45a05.tar.gz
oslevel can fail on AIX, but the output generated would confuse
Configure p4raw-id: //depot/perl@23122
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/Configure b/Configure
index 5087714182..cef7bfed84 100755
--- a/Configure
+++ b/Configure
@@ -3080,7 +3080,9 @@ EOM
aix) osname=aix
tmp=`( (oslevel) 2>/dev/null || echo "not found") 2>&1`
case "$tmp" in
- 'not found') osvers="$4"."$3" ;;
+ # oslevel can fail with:
+ # oslevel: Unable to acquire lock.
+ *not\ found) osvers="$4"."$3" ;;
'<3240'|'<>3240') osvers=3.2.0 ;;
'=3240'|'>3240'|'<3250'|'<>3250') osvers=3.2.4 ;;
'=3250'|'>3250') osvers=3.2.5 ;;