Re: Can't compile Dillo 3.0.3
"Sebastian Geerken" <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, May 18, Johannes Hofmann wrote: > On Sat, May 18, 2013 at 02:47:56PM +0200, Sebastian Geerken wrote: > > [...] > > > > X11 is needed in src/xembed.cc. It seems that on most systems it is > > linked indirectly, (src/dillo -> libfltk.so -> libX11.so), on others > > not, so that an additional "-lX11" is necessary. Should we add it > > generally? It does not harm; we have only to care about other systems > > than X11. > > Could we check for libX11 in configure and link explicitely against > it if available but not fail otherwise? > That way dillo should still compile on OSX. I thought of this. The code is included in "#ifdef X_PROTOCOL", so making "-lX11" depend on this X_PROTOCOL should be save; however, I've not found where X_PROTOCOL is defined. Sebastian