$ cd wireshark-0.99.5

$ ./configure --disable-wireshark --disable-capinfos --disable-editcap --disable-dumpcap --disable-mergecap --disable-text2pcap --disable-idl2eth --disable-randpkt --disable-dftest --disable-ipv6 --disable-threads --without-plugins
configure result

Only http dissector :
$ patch -p0 < patch01b-azwalaro-wireshark0995compilation.diff .gz (31ko)

$ cd epan && make

$ cd ../wiretap && make

$ cd .. && make tshark

$ ./tshark -v
TShark 0.99.5

Copyright 1998-2007 Gerald Combs and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.2.1, with libpcap 0.7.2, with libz 1.1.4, with libpcre 3.9,
without Net-SNMP, without ADNS, without Lua, without GnuTLS, without Gcrypt,
without Kerberos.

Running on Linux 2.6.19, with libpcap (version unknown).

Built using gcc 3.2.2.