Ethereal-dev: Re: [Ethereal-dev] Windows only builds plugins if ENABLE_LIBETHEREAL defined

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

From: Neil Piercy <Neil.Piercy@xxxxxxxxxxxx>
Date: Fri, 27 May 2005 12:01:25 +0100
> Neil Piercy wrote:
>
> > It looks like the recent plugins API changes have stopped the use of
> > plugins under Windows unless ENABLE_LIBETHEREAL=USE is defined in
> > config.nmake, as the plugins makefiles now have all the "normal"
> > targets enclosed by "!IFDEF ENABLE_LIBETHEREAL" - is this deliberate
> > ?  If not, any clues what the correct targets are for the plugin DLLs
> > now the plugin_api.? files have gone ?
> >
> I'm not the person made it, but as I remember these changes were caused
> by constant maintaining trouble of the plugin_api stuff. So yes, these
> changes were intended, the files were removed permanently.
>
> Is there any problem for you?
>
> Regards, ULFL

Its a problem for me now at least because my code doesnt currently work with ENABLE_LIBETHEREAL=USE defined (my problem ;-).

More generally, this makes the inclusion of the option to ENABLE_LIBETHEREAL=USE or not silly - AFAIK I haven't seen a statement that you must define this if you want plugins to work!

I'll try to fix/work round, but if anyone knows a way of making plugins build with ENABLE_LIBETHEREAL=USE not defined, I'd love to hear about it.

Neil