Skip site navigation (1) Skip section navigation (2)

Re: [PORTS] UnixWare 7 patches for current CVS code.

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org, patches(at)postgreSQL(dot)org
Subject: Re: [PORTS] UnixWare 7 patches for current CVS code.
Date: 1999-05-10 16:08:53
Message-ID: 199905101608.MAA06379@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-ports
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(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-ports by date

Next:From: Bruce MomjianDate: 1999-05-10 16:44:38
Subject: Re: [PORTS] Port Bug Report: Regexp does not allow alternation in CHECK clause
Previous:From: Bruce MomjianDate: 1999-05-10 15:41:44
Subject: Re: [PORTS] Patch to compile 6.5 on SCO OpenServer

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1999-05-10 16:11:09
Subject: Re: [HACKERS] Some info about subselect/having problems
Previous:From: Bruce MomjianDate: 1999-05-10 16:02:23
Subject: Re: [HACKERS] Python interface is out of date

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group