From: Kalle Vahlman Date: Thu, 10 Jan 2008 16:46:43 +0000 (+0200) Subject: Allow tools to be defined with full path in buildconf X-Git-Tag: curl-7_21_0~122 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7b9452a6b68099577313a36a0d8e9d9bc8d4dc4;p=thirdparty%2Fcurl.git Allow tools to be defined with full path in buildconf This is required in Scratchbox where LIBTOOL=/targets/links/arch_tools/bin/libtool is set in the environment. --- diff --git a/buildconf b/buildconf index b6d70a670d..89d94a8db0 100755 --- a/buildconf +++ b/buildconf @@ -33,6 +33,11 @@ die(){ findtool(){ file="$1" + if test -f "$file"; then + echo "$file" + return + fi + old_IFS=$IFS; IFS=':' for path in $PATH do