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: Problem building emacs from CVS under MSWindow due to CR/LF and addsection Date: Sun, 12 Oct 2008 22:11:54 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223842357 22321 80.91.229.12 (12 Oct 2008 20:12:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Oct 2008 20:12:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?Vincent_Bela=EFche?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 12 22:13:35 2008 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 1Kp7Jc-000709-Qr for ged-emacs-devel@m.gmane.org; Sun, 12 Oct 2008 22:13:25 +0200 Original-Received: from localhost ([127.0.0.1]:46423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kp7IY-0000F5-Ak for ged-emacs-devel@m.gmane.org; Sun, 12 Oct 2008 16:12:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kp7IU-0000EQ-CZ for emacs-devel@gnu.org; Sun, 12 Oct 2008 16:12:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kp7IT-0000Cm-Ii for emacs-devel@gnu.org; Sun, 12 Oct 2008 16:12:14 -0400 Original-Received: from [199.232.76.173] (port=42059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kp7IT-0000Cb-Ca for emacs-devel@gnu.org; Sun, 12 Oct 2008 16:12:13 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:27454) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kp7IS-0008S6-U4 for emacs-devel@gnu.org; Sun, 12 Oct 2008 16:12:13 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K8N00FBG6TZOUB0@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Sun, 12 Oct 2008 22:13:11 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:104500 Archived-At: > From: =?iso-8859-1?Q?Vincent_Bela=EFche?= > CC: > Date: Sun, 12 Oct 2008 21:09:46 +0200 > > Actually, this $foo$ instead of foo$ does not seem to prevent building. > What really prevents building is the mixture of Unix and Dos end of line > in the makefile produced by configure.bat. How is this related to the shell being used? > In the attachment I have put this makefile, as you can see there is a > mixture of DOS and Unix style EOL. When I build with `makefile' the > build fails very soon. Now I edited `makefile' into > `makefile.woextractrlm' to remove all extra CTRL-M and I tried to build > with `-f makefile.woextractrlm' option. I always check-out the CVS tree with -kb option, and thus I never have these problems. Can you try that? > Maybe configure.bat could be fixed by testing if sed is present on the > machine, and by filtering all the problematic files > by some `sed s/\r$//g' command. Most Windows ports of Sed will not do with this what you want, because they read input in "text" mode, where the CR characters are stripped by low-level library I/O routines and never show in the Sed pattern space.