Wireshark-dev: Re: [Wireshark-dev] [PATCH] wireshark doesn't compile if configure --with-plugin

From: "Luis EG Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Sun, 10 Jun 2007 19:01:05 +0200
On 6/10/07, Guy Harris <guy@xxxxxxxxxxxx> wrote:
Luis EG Ontanon wrote:

> So far the only use of "progfile_dir" by capinfos and editcap is to
> know how to load the plugins (it wasn't needed before I added
> wiretap's plugins, infact,  it wasn't there).

Does this mean that wiretap now depends on libwireshark?  If so, perhaps
they should be combined.

No, there's no such dependency so far.

Some weeks ago in
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21935
I commited changes so that files required to load plugins
(epan/plugins.c  epan/report_err.c  epan/privileges.c  and
epan/filesystem.c) can be compiled outside of epan and its objects get
statically linked to capinfos and editcap so that wiretap's plugins
are loaded also when running capinfos or editcap.

The problem arose because I forgot then to test it for regression with
--with-plugins=no, In fact I have completely forgotten that plugins
could be disabled until today's reminder.
Luis

--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan