[darcs-users] darcs patch: Obviate Autoconf.have_libcurl.

Trent W. Buck trentbuck at gmail.com
Thu Feb 19 07:21:21 UTC 2009


On Thu, Feb 19, 2009 at 08:01:39AM +0100, Petr Rockai wrote:
> Hi,
> 
> trentbuck at gmail.com (Trent W. Buck) writes:
> > Trent W.Buck <trentbuck at gmail.com> writes:
> >
> >> +#ifdef HAVE_LIBWWW || HAVE_LIBCURL || HAVE_HTTP
> >> +         Nothing -> copyUrl u v Cachable
> >> +#else
> >> +         Nothing -> return ()
> >> +#endif
> >
> > I really ought to test shit before I send it.  Apparently this is not
> > how you use CPP at all...
> Try
> 
>     #if defined(HAVE_LIBWWW) || defined(...)
> 
> that could possibly work (no guarantees)

Thanks, that's what I'm doing.  I hope to have a tested patch ready in
a couple of hours (the VPS is sluggish today).

> Incidentally, this more or less what I have originally done on one
> of the first cabalisation branches.

Hurray!


More information about the darcs-users mailing list