On Mon, Nov 30, 2009 at 01:03:16PM +0100, Simon Josefsson wrote:
> If you use X11 headers and libraries, make sure you add proper
> configure.ac checking for everything, and make sure the example is not
> built with the X11 header/libraries are not present.  I don't think this
> is just about cygwin: many servers doesn't have or need any X11
> functionality either.
> 
> However looking at x11.c, I don't see that it includes any X11 headers.
> Is there really anything _depending_ on X11 headers/libraries in your
> code?  So maybe this is a non-issue.
> 
Indeed, there are no X11 headers use to avoid dependencies on X11 libraries in
this example, that's why it could be add without any problem on Unix/Linux
platform.

I believe Daniel point the portability lack under cygwin, win32, and
other platforms.

Thanks for your reply Simon

Regards

-- 
Sofian Brabez
Security R&D Engineer
Email: [email protected]
Website: www.wallix.com
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to