emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot open termcap database


From: Eli Zaretskii
Subject: Re: Cannot open termcap database
Date: Sat, 05 Dec 2009 11:55:37 +0200

> From: Stefan Monnier <address@hidden>
> Cc: Dan Nicolaescu <address@hidden>,  address@hidden,  address@hidden,  
> address@hidden
> Date: Fri, 04 Dec 2009 14:46:23 -0500
> 
> > MSDOS needs it.  I could move all the code it needs to msdos.c, if
> > that's what people want, but it sounds easier to leave termcap.c in
> > place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
> > no other platform will link it in.
> 
> Moving the code is not a good idea.  If it's still in use, then we may
> as well keep it as is.  So we should simply change the configure script
> so that it never uses it except under MSDOS, or upon some other
> explicit request.

The MSDOS build does not use the configure script, it uses its own
config.bat, and relies on src/Makefile.in to mention DOS-specific
files in MSDOS_OBJ.  So if the configure script is modified to never
use termcap.c and termcap.o is added to MSDOS_OBJ, I think the effect
is what you suggest above.

Btw, maybe I'm blind, but configure checks only for termcap.h, it
never references -ltermcap or anything else that has "termcap" as a
substring.  Would removing termcap.h from the script be all that is
needed for Unix platforms to not use termcap.c?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]