From: Adam Spiers <adam@spiers.net>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: location of pcre.h
Date: Mon, 30 Jul 2001 15:55:28 +0100 [thread overview]
Message-ID: <20010730155528.B16163@thelonious.new.ox.ac.uk> (raw)
In-Reply-To: <007d01c11906$5ad4acb0$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, Jul 30, 2001 at 06:46:02PM +0400
Borsenkow Andrej (Andrej.Borsenkow@mow.siemens.ru) 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
next prev parent reply other threads:[~2001-07-30 14:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 14:38 Adam Spiers
2001-07-30 14:46 ` Borsenkow Andrej
2001-07-30 14:55 ` Adam Spiers [this message]
2001-07-30 15:40 ` Clint Adams
2001-07-30 23:46 ` Adam Spiers
2001-07-31 1:35 ` Clint Adams
2001-08-06 13:59 ` Adam Spiers
2001-07-30 17:21 ` Borsenkow Andrej
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010730155528.B16163@thelonious.new.ox.ac.uk \
--to=adam@spiers.net \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).