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: configure-more.zip Date: Sat, 02 Jul 2005 13:57:10 +0200 Message-ID: References: <42C65DE9.6010703@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120301872 8355 80.91.229.2 (2 Jul 2005 10:57:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2005 10:57:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 12:57:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dofgf-0005eN-BC for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 12:57:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dofk8-0000lL-8U for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 07:01:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dofib-0000cT-4J for emacs-devel@gnu.org; Sat, 02 Jul 2005 06:59:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DofiW-0000Zq-S5 for emacs-devel@gnu.org; Sat, 02 Jul 2005 06:59:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DofiV-0000X6-8s for emacs-devel@gnu.org; Sat, 02 Jul 2005 06:59:24 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Doflo-0007E3-2x for emacs-devel@gnu.org; Sat, 02 Jul 2005 07:02:48 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-54-88.inter.net.il [80.230.54.88]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id BSO29540 (AUTH halo1); Sat, 2 Jul 2005 13:57:14 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42C65DE9.6010703@student.lu.se> (message from Lennart Borgman on Sat, 02 Jul 2005 11:27:05 +0200) 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:40090 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40090 > Date: Sat, 02 Jul 2005 11:27:05 +0200 > From: Lennart Borgman > > Since I once again missed that 'cvs update -kb' I decided to do > something about it. I have attached a bat-file that checks for this and > also for the existence of 'find' and 'xargs' which I believe also are > needed to build Emacs. Why send it as a .zip file in a binary attachment, when all you want to send is plain text for inclusion in configure.bat? > This runs under cmd.exe and it also seems to work under command.com. > > Could we please augment configure.bat with this? ;-) Thanks. I must say that I don't like this solution too much. First, the problems you are trying to solve are only relevant for people who build CVS Emacs. It is IMHO a bad idea to frighten users who are building from a released tarball by warning them against non-existent problems or asking them to install unneeded utilities. Checking the line endings with "grep -P" is also less than ideal: some users might have a Grep that is not recent enough to support -P, or even a Grep that is not a GNU Grep. AFAICS, we didn't even require to have Grep installed until now. Finally, I think the Windows build needs neither `find' nor `xargs'. Can you tell where you saw them used? Therefore, I suggest the following strategy for solving the -kb issue: put a small C program into the nt subdirectory which would read nt/configure.bat, nt/nmake.defs, and nt/makefile.w32-in in binary mode and make sure they have the right line endings; if they don't, this program would fail. Then have this program invoked by "make bootstrap" in the nt directory. Would you like to implement this solution?