Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id XAA17991; Mon, 7 Jul 1997 23:50:56 -0700 (PDT) Received: from eastwood.aldigital.algroup.co.uk (eastwood.aldigital.algroup.co.uk [194.128.162.193]) by hyperreal.org (8.8.5/8.8.5) with SMTP id XAA17982 for ; Mon, 7 Jul 1997 23:50:51 -0700 (PDT) Received: from gonzo.ben.algroup.co.uk (gonzo.ben.algroup.co.uk [193.133.15.1]) by eastwood.aldigital.algroup.co.uk (8.6.12/8.6.12) with SMTP id GAA06396 for ; Tue, 8 Jul 1997 06:50:33 GMT Subject: Re: Unixisms in Apache NT To: new-httpd@apache.org Date: Tue, 8 Jul 1997 07:34:30 +0100 (BST) From: Ben Laurie In-Reply-To: from "Alexei Kosut" at Jul 7, 97 06:11:09 pm X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID: <9707080734.aa11750@gonzo.ben.algroup.co.uk> Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Alexei Kosut wrote: > > As distributed, Apache cannot be compiled on NT. A couple of things need > to be done first, that I think we could get rid of, without impeding > either the NT or Unix versions of Apache: > > 1. The regex library's Makefile generates headers files (*.ih), which are > included by the regex files. This uses sh, sed and egrep, and needs to be > done with Unix (although maybe it would work if you had DOS ports of those > utilities). It seems to me (from a cursory examination), that these files > are identical, no matter what OS they are produced on, and that it would > not make one iota of difference if we removed the mkh lines from the regex > Makefile and included the files with the distribution. Yes, it would > change slightly Apache's regex library from the Spencer distribution, but > it would be only changing the Makefile, not the source. I think it's > acceptable; it'd be a big win for Windows. You need to leave mkh in, but distribute the .ih files, IMO. > > 2. DOS line breaks are different than Unix ones. Unix (I believe) uses a > single line feed, Windows uses cr-lf. Now, MSVC++ can handle source files > with Unix line breaks. It cannot, however, handle makefiles with Unix line > breaks, as the various *.mak files in the distribution currently have. I'm > curious as to why we don't just slap DOS linebreaks on them - they'll > never be used on Unix, so is it really neccessary to make the person > compiling the server convert them first? Unfortunately, CVS carefully removes them for us, but I guess it could be done at tarball time. Cheers, Ben. -- Ben Laurie Phone: +44 (181) 994 6435 Email: ben@algroup.co.uk Freelance Consultant and Fax: +44 (181) 994 6472 Technical Director URL: http://www.algroup.co.uk/Apache-SSL A.L. Digital Ltd, Apache Group member (http://www.apache.org) London, England. Apache-SSL author