# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
#--------------------------------------------------------------------------
# findtool works as 'which' but we use a different name to make it more
# obvious we aren't using 'which'! ;-)
+# Unlike 'which' does, the current directory is ignored.
#
findtool(){
file="$1"
do
IFS=$old_IFS
# echo "checks for $file in $path" >&2
- if test -f "$path/$file"; then
+ if test "$path" -a "$path" != '.' -a -f "$path/$file"; then
echo "$path/$file"
return
fi
exit 1
fi
+echo "buildconf: libtool version $lt_version (ok)"
+
#--------------------------------------------------------------------------
# GNU libtoolize check
#
echo "buildconf: running autoheader"
${AUTOHEADER:-autoheader} || die "autoheader command failed"
-echo "buildconf: cp lib/curl_config.h.in src/curl_config.h.in"
-cp lib/curl_config.h.in src/curl_config.h.in
-
echo "buildconf: running autoconf"
${AUTOCONF:-autoconf} || die "autoconf command failed"