Hi, On Mon, Sep 05, 2005 at 02:59:38AM +0200, Diego Sáenz wrote:
El Sun, 4 Sep 2005 02:01:04 -0700 south park <llmmix@gmail.com> escribio:
Hi, It works if compiled without "--disable-cookies" option. how to disable cookies in dillo?
Dillo disables cookies by default (cookies are configured with the $HOME/.dillo/cookiesrc file), but the code to use cookies is in dillo(in that version in a DilloPlugIn outside dillo, but exec by dillo if cookies enabled) is there.
Read doc/Cookies.txt in dillo sources for more information.
Although 'cookiesrc' is enough to control cookies, the compile option "--disable-cookies" was introduced because it served to reduce dillo's binary size for embedded environments (cookie support code is not small). Even now that most of that code was moved into an external plugin, it still saves some remaining cookie-code inside dillo. A patch for the problem is in the CVS now. Please test it. Note: the cookies.dpi is still compiled when cookies are disabled with "--disable-cookies" (near 5KB that can be safely ignored or deleted because it will never run). I don't feel like complicating the autotools* stuff to make the cookies.dpi not to compile ;-). Ah, I also added a message to remind cookies were disabled at compile time.
More about makefiles: Can somebody write a generic makefile for DPIs(DilloPlugins) distributed outside dillo source. It need to install the compiled DPI(DilloPlugIn) in the DPIs system directory when "make install" run as root or install the DPI in the $HOME/.dillo/dpi/ when not and then exec "dpidc register"
There's a script in the tarball: install-dpi-local. More or less it does what you want. -- Cheers Jorge.-