cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] adding curl/config.h

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Dec 2006 23:15:01 +0100 (CET)

On Mon, 11 Dec 2006, Robert Iakobashvili wrote:

>> I don't see how that is (much) different. Can you elaborate?
>
> This is not different, but may a bit more flexible. Platform-specific logic
> will be kept and developed in the dedicated files, which may be easier for
> housekeeping.

Well, they are already in separate files and I have no intention of changing
that. I mean in the lib/config-*.h files.

What I would like to see fixed in this suggested new approach, is how we can
produce a fine curl/config.h file on all possible targets so that we won't
have to install any unrelated config header files on any systems.

Unfortunately, I don't think it is possible to have it universally automated.
There's still people that for example build libcurl using MSVC project files,
and I doubt we can make those generate a suitable curl/config.h file.

I'll need to ponder about this some more. Unless someone reading this has some
good ideas to provide!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-12-11