curl-library
Re: Zlib 1.2.1
Date: Wed, 18 Feb 2004 16:55:11 +0100
On Feb 18, 16:29, Daniel Stenberg wrote:
TA>> For libtool, and automake/autoconf (the last two are needed for builds out
TA>> of CVS, at least) the situation is often a bit more difficult because curl
TA>> needs quite new versions.
>
>Those three tools are only needed when you build from the CVS sources.
>Everyone who downloads a source tarball will be getting pre-generated scripts
>and files.
I haven't looked at the tarballs recently, but won't you still need 'libtool'
as its main usage is as a portable way for creating shared libraries?
>> (There are also one or two more snags, like a horribly broken 'which'
>> program on AIX and Tru64 ('which' is called from curl/buildconf)).
>
>Would it make sense to replace the which with an internal shell-function that
>scans the PATH, like this:
>
>#!/bin/sh
>
>file="$1"
>
>IFS=":"
>for path in $PATH
>do
> if test -r "$path/$file"; then
> echo "$path/$file"
> exit
> fi
>done
Absolutely, that should work nicely.
-Tor
Received on 2004-02-18