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, 05 Dec 2009 11:55:37 +0200 Message-ID: <83iqclkana.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260007084 29900 80.91.229.12 (5 Dec 2009 09:58:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 09:58:04 +0000 (UTC) Cc: alinsoar@voila.fr, mathias.dahl@gmail.com, dann@ics.uci.edu, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 05 10:57:56 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 1NGrOl-0005TN-Qg for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 10:57:56 +0100 Original-Received: from localhost ([127.0.0.1]:54593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGrOl-0007ea-DN for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 04:57:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGrOe-0007eN-Hu for emacs-devel@gnu.org; Sat, 05 Dec 2009 04:57:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGrOY-0007dm-Jo for emacs-devel@gnu.org; Sat, 05 Dec 2009 04:57:47 -0500 Original-Received: from [199.232.76.173] (port=41434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGrOY-0007dj-FO for emacs-devel@gnu.org; Sat, 05 Dec 2009 04:57:42 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:62221) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGrOX-0000Di-UF for emacs-devel@gnu.org; Sat, 05 Dec 2009 04:57:42 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KU600I00B8V3400@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 05 Dec 2009 11:57:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.213.252]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KU600GG6BO37T60@a-mtaout23.012.net.il>; Sat, 05 Dec 2009 11:57:40 +0200 (IST) In-reply-to: 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:118298 Archived-At: > From: Stefan Monnier > Cc: Dan Nicolaescu , alinsoar@voila.fr, emacs-devel@gnu.org, mathias.dahl@gmail.com > 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?