From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3401 invoked from network); 28 May 2006 19:12:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.2 (2006-05-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.2 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 May 2006 19:12:26 -0000 Received: (qmail 59308 invoked from network); 28 May 2006 19:12:18 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 May 2006 19:12:18 -0000 Received: (qmail 3725 invoked by alias); 28 May 2006 19:12:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10333 Received: (qmail 3714 invoked from network); 28 May 2006 19:12:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 May 2006 19:12:10 -0000 Received: (qmail 58216 invoked from network); 28 May 2006 19:12:10 -0000 Received: from mta07-winn.ispmail.ntl.com (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by a.mx.sunsite.dk with SMTP; 28 May 2006 19:12:07 -0000 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20060528191206.CIG29343.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Sun, 28 May 2006 20:12:06 +0100 Received: from pwslaptop.csr.com ([81.107.47.162]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20060528191205.OJGA19763.aamtaout01-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Sun, 28 May 2006 20:12:05 +0100 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.6/8.13.4) with ESMTP id k4SJBuAF004114; Sun, 28 May 2006 20:11:57 +0100 Message-Id: <200605281911.k4SJBuAF004114@pwslaptop.csr.com> From: Peter Stephenson To: zsh-users@sunsite.dk, pws@pwslaptop.csr.com Subject: Re: configure: error: ERROR MACROS NOT FOUND: please report to developers [PATCH] In-Reply-To: Message from "Johann 'Myrkraverk' Oskarsson" of "Sat, 27 May 2006 23:02:19 -0000." Date: Sun, 28 May 2006 20:11:56 +0100 "Johann 'Myrkraverk' Oskarsson" wrote: > I've fixed the following configure error on zeta, see: > > http://www.yellowtab.com/products/ > > with the following patch agains 4.2.5. The RE *may* need or warrant > some further tweakig, but it happens that on Zeta (BeOS) as well as > Haiku, error codes are defined like the following: > > #define ESIGPARM (B_POSIX_ERROR_BASE + 15) > > And at least on Haiku, the following can also be seen: > > #define ENOMEM B_NO_MEMORY >... > '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*(*[_A-Z0-9][_A-Z0-9]*' [line stripped to patternt to fit without wrapping. The current code (4.3) uses an egrep pattern, '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*(_HURD_ERRNO \()?[0-9]+\)?' so it looks like yours isn't good enough any more. Also, since there's no $ anchor (difficult in general since there may be comments at the end of the line) the last [_A-Z0-9]* doesn't have any effect on the match, and it's not clear turning the * into a + would make much difference. The following covers both cases, but may be too general: '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*(_HURD_ERRNO )?\(?[_A-Z0-9]' Any further tweaks (from any system)? -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/