Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: location of pcre.h
- X-seq: zsh-workers 15533
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: location of pcre.h
- Date: Mon, 30 Jul 2001 15:55:28 +0100
- In-reply-to: <007d01c11906$5ad4acb0$21c9ca95@xxxxxxxxxxxxxx>; from Andrej.Borsenkow@xxxxxxxxxxxxxx on Mon, Jul 30, 2001 at 06:46:02PM +0400
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010730153817.A16119@xxxxxxxxxxxxxxxxxxxxxxx> <007d01c11906$5ad4acb0$21c9ca95@xxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Borsenkow Andrej (Andrej.Borsenkow@xxxxxxxxxxxxxx) wrote:
> Do they have anything else in /usr/include/pcre? Else I'd call this broken
> (yet another thing in 7.0).
Yes, pcreposix.h is also there.
> Obvious fix is to check for both pcre.h and pcre/pcre.h and take whatever
> exists
>
> #ifdef HAVE_PCRE_H
> #include <pcre.h>
> #else
> #ifdef HAVE_PCRE_PCRE_H - ick!
> #include <pcre/pcre.h>
> #else
> #error pcre not found
> #endif
> #endif
Yep. Presumably this needs some autoconf wizardry to set
HAVE_PCRE_PCRE_H in the first place, which is where I get lost ...
> Additionally, pcre should be compiled conditionally only if prerequisites
> are found (compare termcap.mdd or terminfo.mdd).
There must be a bug in that too then, because I get
checking for pcre.h... no
Messages sorted by:
Reverse Date,
Date,
Thread,
Author