Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: configure: error: ERROR MACROS NOT FOUND: please report to developers [PATCH]
- X-seq: zsh-users 10333
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx, pws@xxxxxxxxxxxxxxxxx
- Subject: Re: configure: error: ERROR MACROS NOT FOUND: please report to developers [PATCH]
- Date: Sun, 28 May 2006 20:11:56 +0100
- In-reply-to: Message from "Johann 'Myrkraverk' Oskarsson" <johann@xxxxxxxxxxxxxx> of "Sat, 27 May 2006 23:02:19 -0000." <m3hd3bgjgk.fsf@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
"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 <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author