Skip to content
This repository
Browse code

(AIX4): More robust release numbering discovery.

  • Loading branch information...
commit b62475ecbf3b9476cad283782db0fb6cc1cfa72a 1 parent cf67e20
authored June 28, 1995

Showing 1 changed file with 2 additions and 4 deletions. Show diff stats Hide diff stats

  1. 6  config.guess
6  config.guess
@@ -187,10 +187,8 @@ EOF
187 187
 	else
188 188
 		IBM_ARCH=powerpc
189 189
 	fi
190  
-	if grep bos410 /usr/include/stdio.h >/dev/null 2>&1; then
191  
-		IBM_REV=4.1
192  
-	elif grep bos411 /usr/include/stdio.h >/dev/null 2>&1; then
193  
-		IBM_REV=4.1.1
  190
+	if [ -x /usr/bin/oslevel ] ; then
  191
+		IBM_REV=`/usr/bin/oslevel`
194 192
 	else
195 193
 		IBM_REV=4.${UNAME_RELEASE}
196 194
 	fi

0 notes on commit b62475e

Please sign in to comment.
Something went wrong with that request. Please try again.