Sofian Brabez <[email protected]> writes:

>> It struck me that I probably never added it to Makefile.am because
>> the example is not at all as portable as many (most?) the other
>> examples but is rather Linux/*nix-centric (and then I forgot about
>> it). I'm not sure that should be a problem to add it anyway, but I
>> thought I should mention it in case someone out there has any ideas
>> or opinions on the matter.
>> 
>
> I thought it was an oversight when I did this patch. It's true, it's not
> portable because it's X11 related programming, maybe Simon who is used
> cygwin can confirm or give advices to handle portability ?

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.

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to