cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NSS support quirks

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 21 Jun 2008 23:15:19 +0200 (CEST)

On Fri, 20 Jun 2008, Axel Tillequin wrote:

(I'm ccing this back to the libcurl list for info)

> I've patched lib/Makefile.am and lib/nss.c. (Files in tests/server that use
> headers from lib/ need no modifications) Don't forget to rerun 'automake' to
> rebuild the Makefile.in.

Unfortunately, this fails to build (lib)curl out of the source tree. I only
tried it NSS just now. But if I re-add -I$(top_builddir)/lib to INCLUDES it
builds again.

But I'm not sure I like having to remake all includes in the tests to use
<lib/base64.h> etc and set the -I to point to the root of the source tree. It
seems a little too much pain for just nuking a single warning in the nss code.
I'm leaning towards justs inserting a local prototype at the top of the
lib/nss.c file instead...

-- 
  / daniel.haxx.se
Received on 2008-06-21