From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Cannot open termcap database Date: Sat, 12 Dec 2009 12:00:09 +0200 Message-ID: <83y6l87brq.fsf@gnu.org> References: <7dbe73ed0912031141h781e61d1l18776fb696cc4916@mail.gmail.com> <200912032120.nB3LK3MN028567@godzilla.ics.uci.edu> <200912040453.nB44rwPp002343@godzilla.ics.uci.edu> <200912041717.nB4HHe8H008078@godzilla.ics.uci.edu> <83zl5yk158.fsf@gnu.org> <83iqclkana.fsf@gnu.org> <200912051105.nB5B53wL016307@godzilla.ics.uci.edu> <83fx7pk2jj.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260611920 30019 80.91.229.12 (12 Dec 2009 09:58:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Dec 2009 09:58:40 +0000 (UTC) Cc: alinsoar@voila.fr, dann@ics.uci.edu, emacs-devel@gnu.org, mathias.dahl@gmail.com To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 12 10:58:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NJOkB-0002Q4-Uu for ged-emacs-devel@m.gmane.org; Sat, 12 Dec 2009 10:58:32 +0100 Original-Received: from localhost ([127.0.0.1]:55588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJOkB-00074Z-US for ged-emacs-devel@m.gmane.org; Sat, 12 Dec 2009 04:58:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJOjw-0006sh-9x for emacs-devel@gnu.org; Sat, 12 Dec 2009 04:58:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJOjr-0006no-IN for emacs-devel@gnu.org; Sat, 12 Dec 2009 04:58:15 -0500 Original-Received: from [199.232.76.173] (port=52505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJOjr-0006nb-Be for emacs-devel@gnu.org; Sat, 12 Dec 2009 04:58:11 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54613) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJOjq-0002x1-1c for emacs-devel@gnu.org; Sat, 12 Dec 2009 04:58:10 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KUJ00300A1MRQ00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 12 Dec 2009 11:58:08 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.213.252]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KUJ002BBACUDQ50@a-mtaout23.012.net.il>; Sat, 12 Dec 2009 11:58:07 +0200 (IST) In-reply-to: <83fx7pk2jj.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118566 Archived-At: > Date: Sat, 05 Dec 2009 14:50:40 +0200 > From: Eli Zaretskii > Cc: alinsoar@voila.fr, mathias.dahl@gmail.com, monnier@iro.umontreal.ca, > emacs-devel@gnu.org > > > 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 > > #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?