Ethereal-dev: Re: [Ethereal-dev] New "matches" (PCRE support) patch

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 6 Dec 2003 18:43:33 -0800
On Sat, Dec 06, 2003 at 11:31:02PM +0100, Biot Olivier wrote:
> As I cannot build with MS compiler (I don't have it at hand), I can only
> give hints on how this might work in that scenario:
> 
> Download the libpcre development files at:
> http://gnuwin32.sourceforge.net/packages/pcre.htm
> 
> Install them the same way you would do with Zlib and other packages.
> 
> Edit the config.h files in the top-level directory and in epan, and add:
> 
> /* Define to use libpcre library */
> #define HAVE_LIBPCRE 1
> 
> You'll probably have to define the linker options (for gcc this is -lpcre)
> and link in the pcre library etc. This should go into config.nmake and/or in
> Makefile.nmake. I'd say to look at the Zlib (or ADNS) example to get it
> right.

Gerald Combs checked in changes to do that.