On Tue, 08 Aug 2006 05:57:38 -0600, Alan Robertson wrote:
> David Lee wrote:
>> On Mon, 7 Aug 2006, Dave Blaschke wrote:
[snip]
>> I see that he has made this:
>> AC_PATH_PROGS(HTML2TXT, lynx, w3m)
>>
>> Perhaps that ought to be:
>> AC_PATH_PROGS(HTML2TXT, lynx w3m)
>>
>> (i.e. 2nd arg a two word string, 3rd arg blank).
>
> I thought that the examples I saw on the web had commas.
>
> And it seems to work ;-)
If my reading of the documentation is correct then the
first invocation is basically:
if which lynx; then
HTML2TXT=lynx
else
HTML2TXT=w3m
fi
Where as the second one is:
if which lynx; then
HTML2TXT=lynx
elif which w3m; then
HTML2TXT=w3m
else
HTML2TXT=""
fi
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/