From: Junio C Hamano Date: Thu, 17 Nov 2005 01:15:40 GMT Subject: Re: recent patch breaks the build ? Message-ID: <7vd5l03whv.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20051117004621.GB3968@reactrix.com> Nick Hengeveld writes: > On Thu, Nov 17, 2005 at 12:25:06AM +0100, Johannes Schindelin wrote: > >> #if LIBCURL_VERSION_NUM < 0x070801 >> #error http-push needs curl >= 7.8.1 (because of CURLOPT_HTTPGET) >> #endif > > Is it worth trying to figure this out in the Makefile instead, using eg. > curl-config --vernum? If we can do that reliably, that would be very nice for the users. Might be worth a try.