[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for configure for pcre.h working with autoconf 2.59
From: |
John W. Eaton |
Subject: |
Re: patch for configure for pcre.h working with autoconf 2.59 |
Date: |
Wed, 14 Nov 2007 21:45:14 -0500 |
On 14-Nov-2007, address@hidden wrote:
| > It doesn't look like the patch will apply to the current sources
|
| Sorry about that. Here's an updated one, based on the lastest CVS
| configure.in source, which properly caches the results and gives good
| messages; I hope you will find it useful.
|
| Note that it works by setting CPPFLAGS based on pcre-config, rather than
| the explicit checks for pcre.h and pcre/pcre.h, since CPPFLAGS is what
| AC_EGREP_CPP needs. If you feel strongly that you don't want CPPFLAGS
| to be set for all compiles, let me know, and I'll rework it (again).
On my system, pcre-config --libs prints
-L/usr/lib -lpcre
and --cflags prints an empty line.
I don't think it should be printing -L/usr/lib when it seems to know
enough to avoid printing -I/usr/include.
But anyway, I applied the patch.
Thanks,
jwe