comparison config.guess @ 11606:e90c3c69416a

(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.
author Richard Kenner <kenner@gnu.org>
date Thu, 27 Apr 1995 13:22:29 +0000
parents a4ca183ca59e
children c23dd70bf6a3
comparison
equal deleted inserted replaced
11605:36b1eb58d0c9 11606:e90c3c69416a
327 else 327 else
328 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE} 328 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}
329 fi 329 fi
330 exit 0 ;; 330 exit 0 ;;
331 i[34]86:*:3.2:*) 331 i[34]86:*:3.2:*)
332 if /bin/uname -X 2>/dev/null >/dev/null ; then 332 if test -f /usr/options/cb.name; then
333 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
334 echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
335 elif /bin/uname -X 2>/dev/null >/dev/null ; then
333 UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` 336 UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
334 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 337 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
335 echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL 338 echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
336 elif test -f /usr/options/cb.name; then
337 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
338 echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
339 else 339 else
340 echo ${UNAME_MACHINE}-unknown-sysv32 340 echo ${UNAME_MACHINE}-unknown-sysv32
341 fi 341 fi
342 exit 0 ;; 342 exit 0 ;;
343 Intel:Mach:3*:*) 343 Intel:Mach:3*:*)