]> git.ipfire.org Git - thirdparty/git.git/commit - configure.ac
Makefile: make curl-config path configurable
authorRemi Pommarel <repk@triplefau.lt>
Wed, 21 Oct 2015 17:10:46 +0000 (19:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Oct 2015 19:43:31 +0000 (12:43 -0700)
commitf89158760d5f02ba59f644799abd921e6be22f13
tree8540cf55603b8e43d452175325cd85daa25f1e2b
parent9eaa78b0b037964da85d6a15f0128639f2118a53
Makefile: make curl-config path configurable

There are situations, e.g. 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/configure. Configure
will set CURL_CONFIG variable in config.mak.autogen to whatever value has been
passed to ac_cv_prog_CURL_CONFIG.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
configure.ac