Ethereal-dev: Re: [Ethereal-dev] configure does not look in /usr/include/pcre for pcre.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 22 Oct 2004 00:35:10 -0700
Charles Levert wrote:

Actually, I meant for values to (tentatively) add to CFLAGS with -I before
invoking AC_CHECK_HEADER() if "test -d DIR" (or "test -f DIR/pcre.h")
is true.  So, /usr/include does not need to be added explicitly at that
step, since the preprocessor will always look there anyway.

I guess the question I was really asking is "is this another mess similar to the one induced by Red Hat's brilliant idea of installing libpcap's pcap.h in /usr/include/pcap, rather than in /usr/include where it's installed on most other OSes, or is the standard location for it /usr/include/pcre, so that the Ethereal configure script is wrong and has always been wrong?"

I.e., where is pcre.h installed by the standard PCRE distribution from www.pcre.org and, if it's in "/usr/include" and/or "/usr/local/include", did the creators of your system decide it should've been installed in its own subdirectory - which, arguably, it should have been, just as pcap.h arguably should have been, but trying to improve this *after the fact* just requires configure scripts to go through more crap to cope with the "improved" location as well as the standard one?