In a recent note, Thomas Dickey said: > Date: Mon, 17 Jul 2000 23:04:06 -0400 > > 2000-07-17 (2.8.4dev.6) > * move special case statement for os390 compiler before AC_PROG_CC macro in > configure.in and regenerate configure script (reported by PG) -TD > * correct check for return values of check_color() in parse_color() for slang > configuration, which prevented use of "default" color. This applies to > 2.8.3rel.1 as well -TD > Thanks. But here I go again. I'm attaching a patch that brings config.guess and config.sub into complete agreement with the GNU versions on ftp://ftp.gnu.org/gnu/config/ (a couple hours ago :-) and makes the induced accommodation in configure.in. You might prudently distrust me and grab the config.* sources direct from gnu. (I'll never know unless I screwed up. :-) Thanks, gil -- StorageTek INFORMATION made POWERFUL ######################################################################## %%% Created Tue Jul 18 11:24:47 MDT 2000 by target lynx.patch. %%% diff -bru orig/lynx2-8-4/config.guess lynx2-8-4/config.guess --- orig/lynx2-8-4/config.guess Sun Jul 16 21:16:13 2000 +++ lynx2-8-4/config.guess Tue Jul 18 11:12:41 2000 @@ -241,6 +241,9 @@ wgrisc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; @@ -428,10 +431,6 @@ *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; - *:MVS:*:* | *:OS390:*:*|*:OS/390:*:*) - # uname -m gives a processor model number /* S/390 -- gil -- 1389 */ - echo s390-ibm-os390 # on R1 and R2, uname -s reports OS390 - exit 0 ;; # on R3, uname -s reports OS/390 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' diff -bru orig/lynx2-8-4/config.sub lynx2-8-4/config.sub --- orig/lynx2-8-4/config.sub Mon Jul 17 20:49:54 2000 +++ lynx2-8-4/config.sub Tue Jul 18 11:13:05 2000 @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 # Free Software Foundation, Inc. -version='2000-06-13' +version='2000-07-06' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -218,9 +218,14 @@ | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ | mips64vr5000 | miprs64vr5000el | mcore \ | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ - | thumb | d10v | fr30 | avr) + | thumb | d10v | d30v | fr30 | avr) basic_machine=$basic_machine-unknown ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) ;; @@ -257,7 +262,7 @@ | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ - | bs2000-*) + | bs2000-* | tic54x-* | c54x-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. @@ -479,13 +484,6 @@ i370-ibm* | ibm*) basic_machine=i370-ibm ;; - s390 | s390-ibm*) -# OS/390 support after: -# Linkname: Mortice Kern Systems (MKS) Inc. - OS/390 OpenEdition -- GNU Utilities Downloads -# URL: http://www.mks.com/s390/gnu/download.htm#autoconf - basic_machine=s390-ibm # /* S/390 -- gil -- 1419 */ - os=-os390 - ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i[34567]86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` @@ -800,6 +798,10 @@ basic_machine=t3e-cray os=-unicos ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; tx39) basic_machine=mipstx39-unknown ;; @@ -976,7 +978,7 @@ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* | -os390* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ diff -bru orig/lynx2-8-4/configure.in lynx2-8-4/configure.in --- orig/lynx2-8-4/configure.in Mon Jul 17 20:49:54 2000 +++ lynx2-8-4/configure.in Tue Jul 18 11:21:13 2000 @@ -32,7 +32,8 @@ dnl Only add to this case statement when a system has a compiler that is not dnl detected by AC_PROG_CC. case $host_os in -os390) : ${CFLAGS="-D_ALL_SOURCE -Wl,EDIT=NO"} +openedition) + : ${CFLAGS="-D_ALL_SOURCE -Wl,EDIT=NO"} : ${CC=c89} ;; esac ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
