From: Nicholas Clark Date: Fri, 16 Jul 2004 10:14:24 +0000 (+0000) Subject: oslevel can fail on AIX, but the output generated would confuse X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e81c5c2a4504e8ed2983ba7b4e9c704c6ea45a05;p=p5sagit%2Fp5-mst-13.2.git oslevel can fail on AIX, but the output generated would confuse Configure p4raw-id: //depot/perl@23122 --- 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 ;;