[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev dev.4 config.guess [PATCH]
From: |
pg |
Subject: |
Re: lynx-dev dev.4 config.guess [PATCH] |
Date: |
Sat, 15 Jul 2000 22:23:40 -0600 (MDT) |
In a recent note, Thomas Dickey said:
> Date: Fri, 14 Jul 2000 20:15:24 -0400
>
> I'd rather continue with the flavor that's being maintained - which
> appears to be MKS. The conflict arose because it appeared that there
> were some parallel or variant cases that were in the FSF version.
>
> (I'll get a copy of that & see about fixing my version)
>
Well, here's a quick patch that:
o undoes the damage (IMO) to config.guess
o adds a couple highly desirable definitions to configure.in. I'm
uneasy with this. A comment deprecates adding branches to an
existing case statement unless no test can be devised. And I'm
adding a whole new case statement. But it's bootstrapping --
the choice of C compiler and options must be made before any
compilation tests. Previously, I supplied this as an environment
variable before invoking configure.
Editor's choice.
-- gil
--
StorageTek
INFORMATION made POWERFUL
########################################################################
%%% Created Sun Apr 9 09:28:52 MDT 2000 by target lynx.patch. %%%
--- orig/lynx2-8-4/config.guess Fri Jun 23 09:15:08 2000
+++ lynx2-8-4/config.guess Sat Jul 15 17:47:53 2000
@@ -156,9 +156,6 @@
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;;
diff -bru orig/lynx2-8-3/configure lynx2-8-3/configure
--- orig/lynx2-8-3/configure Thu Apr 6 19:18:53 2000
+++ lynx2-8-3/configure Sun Apr 9 09:28:27 2000
@@ -684,8 +684,10 @@
test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po &&
echo *.po|sed -e 's/\.po//g' -e 's/*//'`
-
-
+case "$host_os" in
+os390) : ${CFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -Wl,EDIT=NO"}
+ : ${CC=c89};;
+esac
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
--- orig/lynx2-8-4/configure.in Fri Jun 2 19:01:05 2000
+++ lynx2-8-4/configure.in Sat Jul 15 07:36:39 2000
@@ -16,6 +16,11 @@
AC_PREFIX_DEFAULT(/usr/local)
+case "$host_os" in
+os390) : ${CFLAGS="-D_ALL_SOURCE -Wl,EDIT=NO"}
+ : ${CC=c89};;
+esac
+
dnl --------------------------------------------------------------------------
dnl Checks for location of programs
dnl --------------------------------------------------------------------------
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden