curl-library
Allow tools to be defined with full path in buildconf
From: Kalle Vahlman <zuh_at_iki.fi>
Date: Thu, 10 Jan 2008 18:46:43 +0200
Date: Thu, 10 Jan 2008 18:46:43 +0200
This is required in Scratchbox where
LIBTOOL=/targets/links/arch_tools/bin/libtool
is set in the environment.
---
buildconf | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/buildconf b/buildconf
index b6d70a6..89d94a8 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
--
1.5.6.1
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2001-09-17