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, 12 Dec 2009 12:00:09 +0200

> Date: Sat, 05 Dec 2009 14:50:40 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
>       address@hidden
> 
> > termcap.o would also need to be removed from the setting of termcapobj
> > in src/Makefile.in
> > 
> >   > 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?
> > 
> > No, see above.
> > And it gets even better: termcap.h is not even used, see src/term.c and 
> > src/cm.c:
> > 
> > /* For now, don't try to include termcap.h.  On some systems,
> >    configure finds a non-standard termcap.h that the main build
> >    won't find.  */
> > 
> > #if defined HAVE_TERMCAP_H && 0
> > #include <termcap.h>
> > #else
> 
> Right.  So, taking into consideration what Andreas points out, we will
> need to:
> 
>   . Move termcap.o from termcapobj to MSDOS_OBJ in src/Makefile.in
> 
>   . Simplify src/Makefile.in under #ifndef LIBS_TERMCAP" in the
>     !TERMINFO case (because both branches will become identical now)
> 
>   . Remove termcap.h from AC_CHECK_HEADERS in configure.in
> 
>   . Remove the above "#if 0" snippet from src/term.c and src/cm.c
> 
> Anything else I missed?

No one commented.  Should I do this now, or should I wait for the
release branch to be cut?




reply via email to

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