From xemacs-m  Sat May 24 09:32:45 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id JAA20254
	for <xemacs-beta@xemacs.org>; Sat, 24 May 1997 09:32:44 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id XAA06732; Fri, 23 May 1997 23:49:31 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id XAA17921; Fri, 23 May 1997 23:33:25 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id XAA17498; Fri, 23 May 1997 23:33:22 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id XAA20090; Fri, 23 May 1997 23:33:25 -0700
Date: Fri, 23 May 1997 23:33:25 -0700
Message-Id: <199705240633.XAA20090@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: carney@gvc.dec.com
Cc: xemacs-beta@xemacs.org
Subject: RE: [DU 3.2D] 20.3-bx build failed. [patch]
In-Reply-To: <9705231217.AA01112@fornet.gvc.dec.com>
References: <m2d8qiq5m1.fsf@altair.xemacs.org>
	<9705231008.AA22487@pluto.ritp.ye.IHI.CO.JP>
	<wnu3jueakp.fsf@hv08.hv.epson.co.jp>
	<9705231217.AA01112@fornet.gvc.dec.com>
X-Mailer: VM 6.31 under 20.3 XEmacs Lucid (beta1)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Steve" == Steve Carney <carney@gvc.dec.com> writes:

Steve> I also found that curses wasn't being link in, so building temacs
Steve> failed.  It turns out that TERMINFO was not defined for DUNIX.

Steve> After looking at configure.in, it seems that have_terminfo must be
Steve> defined before checking for curses, termlib, or termcap.  After a quick
Steve> trip to Stevens, it seems that terminfo came into being after termcap
Steve> and curses, and is essentially a separate feature.  It seems to me that
Steve> checking for curses, termlib, and termcap should not depend on terminfo.

Steve> Shouldn't configure actually check for terminfo, instead of relying on
Steve> its being defined in one of the s/ files?  I suppose that might be
Steve> difficult because terminfo could live in various places.

Yes, terminfo should be autodetected.  Unfortunately, I only
understand configure, not curses/ncurses/termcap/terminfo/termlib, and
so didn't try to untangle that mess.  The sources are a lot more
difficult than they need to be.  We probably shouldn't be checking for
TERMINFO at all, only for the existence of the appropriate interfaces.

Steve> In the case of DUNIX, termlib, termcap, curses, and terminfo exist, so I
Steve> believe that the following patch is correct in any event.

Steve> --- src/s/decosf3-1.h.dist	Tue May 20 03:22:12 1997
Steve> +++ src/s/decosf3-1.h	Fri May 23 13:47:35 1997
Steve> @@ -23,3 +23,7 @@
Steve>  #endif
 
Steve>  #define BROKEN_SIGIO
Steve> +
Steve> +#ifndef TERMINFO
Steve> +#define TERMINFO 1
Steve> +#endif

I'll add a #define to decosf3-1.h.  But I don't like it.  I'd prefer
someone rip out all of the curses/terminfo tty stuff and do it right.

Martin

