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 15:20:36 +0200 Message-ID: References: <42C65DE9.6010703@student.lu.se> <42C676AC.2020903@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120307489 19502 80.91.229.2 (2 Jul 2005 12:31:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2005 12:31:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 14:31:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Doh9J-0003Wk-Og for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 14:31:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Doh9F-00006O-Ir for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 08:31:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Doh8B-0008Mb-WA for emacs-devel@gnu.org; Sat, 02 Jul 2005 08:30:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Doh7y-0008B2-Dy for emacs-devel@gnu.org; Sat, 02 Jul 2005 08:29:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Doh7v-00086Y-Fl for emacs-devel@gnu.org; Sat, 02 Jul 2005 08:29:43 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Doh4X-0003hL-Jt for emacs-devel@gnu.org; Sat, 02 Jul 2005 08:26:13 -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 BSP30980 (AUTH halo1); Sat, 2 Jul 2005 15:20:40 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42C676AC.2020903@student.lu.se> (message from Lennart Borgman on Sat, 02 Jul 2005 13:12:44 +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:40097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40097 > Date: Sat, 02 Jul 2005 13:12:44 +0200 > From: Lennart Borgman > CC: emacs-devel@gnu.org > > Eli Zaretskii wrote: > > > > >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? > > > > > > > Because sending a bat-file was not allowed. ??? By whom? > >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? > > > > > You mean build and run this program at the end of configure.bat? Not at the end of configure.bat, but rather at the beginning of "make bootstrap". The point here is that running configure.bat does not necessarily mean the user will be bootstrapping. If she doesn't bootstrap, there's no reason to bother her about issues that are only relevant to bootstrapping. > Would not "make bootstrap" be too late? No, I don't think it is. If the effect is that "make bootstrap" refuses to continue if line endings are not right, we've reached our goal, right? This is similar to what lib-src/test-distrib.c does (for every build, not just for bootstrap). > Yes, it seems like a better solution. I will try. Thanks.