Ethereal-dev: Re: [Ethereal-dev] Win32 config.h.win32 files, ZLIB_DLL and HAVE_ZLIB

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

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Thu, 6 May 2004 22:57:47 +0200
From: Olivier Biot

| From: Joerg Mayer
|
| | On Thu, May 06, 2004 at 05:41:05PM +0200, Biot Olivier wrote:
| | > Does anyone know why:
| | >
| | > 1. We still have an epan/config.h.win32?
| |
| | No. What happens if you delete it?
|
| Then compilation stops at a certain point since the Makefile.nmake
| files below epan still rely upon the epan/config.h file. I'm trying
to
| get rid of that one, but now I'm getting problems related to
| config.nmake.
|
| I'll check in a patch once I find a fix and then we can delete
| epan/config.h.win32.

I checked in a fix, and after a distclean I realized that the
ZLIB_CFLAGS was lacking in epan/configure.nmake. I checked in a fix
for this too.

Now epan/config.h.win32 is a mere memory :)

I only had to add config.h to the all target in the top-level
makefile, and to define the YYTEXT_POINTER macro in the top-level
config.h.win32 as it was not defined in the top-level config.h.win32
but it was in epan/config.h.win32.

I also noticed that the Makefile in epan/dfilter provides a dependency
in config.h while the one in epan/ftypes doesn't. I however am not
*that* familiar with MSVC's brand of make and its associated syntax,
so maybe a nmake guru may want to fix this.

Regards,

Olivier