UnixWare 7 patches for current CVS code.

Started by Billy G. Allieover 26 years ago2 messages
#1Billy G. Allie
Bill.Allie@mug.org
1 attachment(s)

Configure no longer recognizes UnixWare 7 as a supported OS. The attached
patches will correct this.

With these patches, config.guess will produce:

i?86-pc-unixware7.0.1 (where ? is 3 or 5 depending on the chipset)

which config.sub will accept and pass on to configure. Configure was changed
to recognize 'unixware*' as a valid type instead of 'sysv5'. I belive these
changes brings the recognition of the unixware systems in line with the intent
of the config.guess and config.sub routines (Intel x86 machines identified by
iX86-pc constructs followed by -OSname). The other option would be to have
config.guess output 'i?86-pc-sysv5-unixware7.0.1', but I did not have time to
get it to work in that form (yet).

Attachments:

uw7.config.patchapplication/x-patch; name=uw7.config.patchDownload
*** src/config.guess.orig	Sun Apr 11 16:12:39 1999
--- src/config.guess	Sun Apr 11 16:15:54 1999
***************
*** 709,715 ****
  	  (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  	    && UNAME_MACHINE=i586
  	fi
! 	echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION}
  	exit 0 ;;
      pc:*:*:*)
          # uname -m prints for DJGPP always 'pc', but it prints nothing about
--- 709,715 ----
  	  (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  	    && UNAME_MACHINE=i586
  	fi
! 	echo ${UNAME_MACHINE}-pc-unixware${UNAME_VERSION}
  	exit 0 ;;
      pc:*:*:*)
          # uname -m prints for DJGPP always 'pc', but it prints nothing about
*** src/config.sub.orig	Sat Apr 10 20:05:46 1999
--- src/config.sub	Sun Apr 11 16:57:02 1999
***************
*** 692,697 ****
--- 692,699 ----
  	-svr4*)
  		os=-sysv4
  		;;
+ 	-unixware7*)
+ 		;;
  	-unixware*)
  		os=-sysv4.2uw
  		;;
*** /tmp/configure.in	Sat Apr 17 16:20:30 1999
--- src/configure.in	Sat Apr 17 16:20:47 1999
***************
*** 44,50 ****
  		    *) os=unknown need_tas=no ;;
         esac ;;
     sysv4*) os=svr4 need_tas=no ;;
!    sysv5*) os=unixware need_tas=no ;;
  *) echo ""
     echo "*************************************************************"
     echo "configure does not currently recognize your operating system,"
--- 44,50 ----
  		    *) os=unknown need_tas=no ;;
         esac ;;
     sysv4*) os=svr4 need_tas=no ;;
!    unixware*) os=unixware need_tas=no ;;
  *) echo ""
     echo "*************************************************************"
     echo "configure does not currently recognize your operating system,"
*** /tmp/configure	Sat Apr 17 16:17:35 1999
--- src/configure	Fri Apr 16 13:54:22 1999
***************
*** 649,654 ****
--- 649,655 ----
  		    *) os=unknown need_tas=no ;;
         esac ;;
     sysv4*) os=svr4 need_tas=no ;;
+    unixware*) os=unixware need_tas=no ;;
  *) echo ""
     echo "*************************************************************"
     echo "configure does not currently recognize your operating system,"
#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Billy G. Allie (#1)
Re: [PORTS] UnixWare 7 patches for current CVS code.

I don't think we can apply these because config.guess comes from GNU
configure, not from us. Is there something we can do to
template/.similar to fix this? Can someone tell Billie how to get the
proper .similar string for Unixware so we can add it, and rerun configure?

Configure no longer recognizes UnixWare 7 as a supported OS. The attached
patches will correct this.

With these patches, config.guess will produce:

i?86-pc-unixware7.0.1 (where ? is 3 or 5 depending on the chipset)

which config.sub will accept and pass on to configure. Configure was changed
to recognize 'unixware*' as a valid type instead of 'sysv5'. I belive these
changes brings the recognition of the unixware systems in line with the intent
of the config.guess and config.sub routines (Intel x86 machines identified by
iX86-pc constructs followed by -OSname). The other option would be to have
config.guess output 'i?86-pc-sysv5-unixware7.0.1', but I did not have time to
get it to work in that form (yet).

Content-Description: uw7.config.patch

[Attachment, skipping...]
*** src/config.guess.orig	Sun Apr 11 16:12:39 1999
--- src/config.guess	Sun Apr 11 16:15:54 1999
***************
*** 709,715 ****
  	  (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  	    && UNAME_MACHINE=i586
  	fi
! 	echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION}
  	exit 0 ;;
      pc:*:*:*)
          # uname -m prints for DJGPP always 'pc', but it prints nothing about
--- 709,715 ----
  	  (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  	    && UNAME_MACHINE=i586
  	fi
! 	echo ${UNAME_MACHINE}-pc-unixware${UNAME_VERSION}
  	exit 0 ;;
      pc:*:*:*)
          # uname -m prints for DJGPP always 'pc', but it prints nothing about
*** src/config.sub.orig	Sat Apr 10 20:05:46 1999
--- src/config.sub	Sun Apr 11 16:57:02 1999
***************
*** 692,697 ****
--- 692,699 ----
  	-svr4*)
  		os=-sysv4
  		;;
+ 	-unixware7*)
+ 		;;
  	-unixware*)
  		os=-sysv4.2uw
  		;;
*** /tmp/configure.in	Sat Apr 17 16:20:30 1999
--- src/configure.in	Sat Apr 17 16:20:47 1999
***************
*** 44,50 ****
  		    *) os=unknown need_tas=no ;;
         esac ;;
     sysv4*) os=svr4 need_tas=no ;;
!    sysv5*) os=unixware need_tas=no ;;
  *) echo ""
     echo "*************************************************************"
     echo "configure does not currently recognize your operating system,"
--- 44,50 ----
  		    *) os=unknown need_tas=no ;;
         esac ;;
     sysv4*) os=svr4 need_tas=no ;;
!    unixware*) os=unixware need_tas=no ;;
  *) echo ""
     echo "*************************************************************"
     echo "configure does not currently recognize your operating system,"
*** /tmp/configure	Sat Apr 17 16:17:35 1999
--- src/configure	Fri Apr 16 13:54:22 1999
***************
*** 649,654 ****
--- 649,655 ----
  		    *) os=unknown need_tas=no ;;
         esac ;;
     sysv4*) os=svr4 need_tas=no ;;
+    unixware*) os=unixware need_tas=no ;;
  *) echo ""
     echo "*************************************************************"
     echo "configure does not currently recognize your operating system,"
-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026