Hi, Daniel Stenberg schrieb: > 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. I have another idea: we move the conditional into C sources, and then include all files unconditionally in Makefile.inc, and in C files then at top of source: #include <libssh2_config.h> #if LIBCRYPT ... #endif
what's about that idea? BTW. I had tested my change there also with autotools, and for me this worked fine with ifdef - and AFAICT GNU make cant cope with if ... Gün. _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
