Subject: Re: ifdef in Makefile.inc?

Re: ifdef in Makefile.inc?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 Sep 2009 16:33:56 +0200 (CEST)

On Mon, 7 Sep 2009, Guenter wrote:

> 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?

I think that's a good idea. It will also make it easier for non
configure-based systems to alter what to build: just build all files and set
the defines correctly to alter the build...

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-09-07