From e81c5c2a4504e8ed2983ba7b4e9c704c6ea45a05 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 16 Jul 2004 10:14:24 +0000 Subject: [PATCH] oslevel can fail on AIX, but the output generated would confuse Configure p4raw-id: //depot/perl@23122 --- Configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index 5087714..cef7bfe 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 ;; -- 1.8.3.1