Re: [PATCH v2 1/1] Makefile: make curl-config path configurable

2015-10-05 Thread Remi Pommarel
On Mon, Oct 05, 2015 at 12:31:27PM -0700, Jonathan Nieder wrote: > Remi Pommarel wrote: > > > There are situations, ie during cross compilation, where curl-config program > > is not present in the PATH. > > s/ie/e.g.,/ Oups sorry about that. > > [...] > > @@ -374,6 +378,7 @@ LDFLAGS = > > ALL

Re: [PATCH v2 1/1] Makefile: make curl-config path configurable

2015-10-05 Thread Jonathan Nieder
Remi Pommarel wrote: > There are situations, ie during cross compilation, where curl-config program > is not present in the PATH. s/ie/e.g.,/ [...] > @@ -374,6 +378,7 @@ LDFLAGS = > ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) > ALL_LDFLAGS = $(LDFLAGS) > STRIP ?= strip > +CURL_CONFIG = curl-config Co

[PATCH v2 1/1] Makefile: make curl-config path configurable

2015-10-05 Thread Remi Pommarel
There are situations, ie during cross compilation, where curl-config program is not present in the PATH. Make the makefile use a configurable curl-config program passed through CURL_CONFIG variable which can be set through config.mak. Also make this variable tunable through use of autoconf/config