On Mon, 7 Sep 2009, Simon Josefsson wrote:
> As far as I know, 'ifdef' is not permitted in automake makefiles.
>
> I'm not able to build libssh2 without this patch to Makefile.inc:
The .inc files should also carefully be crafted to be used by differnt make
implementaitons so it should ideally not use ifdefs _at all_ methinks.
> How do we make things work?
I think we should let the .inc file assign two different variables, and then
the conditional would be in the actual makefile that would use one or the
other of the variables. So that the .inc file has no conditionals at all.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2009-09-07