Compaq changed uname to use osf as a basename instead of osf1. Bug #74947 NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Mon, 16 Apr 2001 23:22:28 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1826 eda81a8a356c26aaf92ff7dc0f7e2ac631bfacb7
parent 1823 28d060d8b1db9e45356c75085085056643be33d6
child 1827 a27008c6ac731469065c0551e146a5f9448bdcb8
push idunknown
push userunknown
push dateunknown
bugs74947
Compaq changed uname to use osf as a basename instead of osf1. Bug #74947
configure
configure.in
--- a/configure
+++ b/configure
@@ -3751,17 +3751,17 @@ EOF
     CXX=ccc
     CFLAGS="$CFLAGS -Wc,names=\(short,as\)"
     CXXFLAGS="$CXXFLAGS -Wc,names=\(short,as\)"
     MDCPUCFG_H=_openvms.cfg
     PR_MD_CSRCS=openvms.c
     MKSHLIB='vmsld $(OPTIMIZER)'
     ;;
 
-*-osf1*)
+*-osf*)
     cat >> confdefs.h <<\EOF
 #define XP_UNIX 1
 EOF
 
     cat >> confdefs.h <<\EOF
 #define OSF1 1
 EOF
 
--- a/configure.in
+++ b/configure.in
@@ -1229,17 +1229,17 @@ mips-sony-newsos*)
     CXX=ccc
     CFLAGS="$CFLAGS -Wc,names=\(short,as\)"
     CXXFLAGS="$CXXFLAGS -Wc,names=\(short,as\)"
     MDCPUCFG_H=_openvms.cfg
     PR_MD_CSRCS=openvms.c
     MKSHLIB='vmsld $(OPTIMIZER)'
     ;;
 
-*-osf1*)
+*-osf*)
     AC_DEFINE(XP_UNIX)
     AC_DEFINE(OSF1)
 
     if echo "$OS_RELEASE" | egrep -c '(V2.0|V3.2)' 2>/dev/null ; then
         USE_NSPR_THREADS=1
     fi
 
     if test -z "$GNU_CC"; then