From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: configure-more.zip Date: Sun, 03 Jul 2005 09:38:11 +0200 Message-ID: <42C795E3.7070702@student.lu.se> References: <42C65DE9.6010703@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120378211 15489 80.91.229.2 (3 Jul 2005 08:10:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2005 08:10:11 +0000 (UTC) Cc: emacs-devel@gnu.org, Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 03 10:10:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DozYG-0000qw-Tb for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 10:10:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DozZP-0002gD-9R for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 04:11:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DozUC-0000bZ-1n for emacs-devel@gnu.org; Sun, 03 Jul 2005 04:05:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DozU7-0000aV-CZ for emacs-devel@gnu.org; Sun, 03 Jul 2005 04:05:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DozPc-00089b-Pc for emacs-devel@gnu.org; Sun, 03 Jul 2005 04:01:12 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Doz8v-0004aE-9L; Sun, 03 Jul 2005 03:43:57 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B000233689; Sun, 3 Jul 2005 09:38:15 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: 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:40187 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40187 Eli Zaretskii wrote: >>This won't work. "make bootstrap" must be preceeded by "configure", >>and if configure.bat does not have the right line ends, then that will >>fail. >> >> > >This situation worries me less: if configure.bat fails to run, the >user will know something is wrong with the batch file. It's the >mysterious error message produced by Make that prompted my suggestion. >I've seen 2 Emacs maintainers trip on this just this last month. > >But if you have a better idea, I'm open to suggestions. > >(Btw, my testing indicates that cmd.exe from Windows 2K and XP >succeeds running a batch file even if its lines end in the Unix-style >single LF, and also if there's more than one CR character before the >newline.) > > Running a bat file with unix style line ends: - cmd.exe: Windows 2k: ok, XP: ok, NT: ok - command.com: Window 2k: ok, others: ?? As I previously have said I suggested testing at the end of configure.bat should be a good solution. All that is needed is a small C program. Maybe this testing also should be repeated in the Makefile though to take care of redownloads.