Ethereal-dev: Re: [Ethereal-dev] [PATCH] acinclude.m4: --with-krb5

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Thomas Anders <thomas.anders@xxxxxxxxxxxxx>
Date: Tue, 18 May 2004 14:04:05 +0200
Joerg Mayer wrote:
- krb5-config is not in PATH (making $KRB5_CONFIG empty, but "test -x"
 succeeds)

The attached patch (for acinclude.m4) should fix this.


I don't know how the patch fixes this problem, but as it fixes the first
one I've applied it anyway.

Proper quoting makes the difference:

sh# echo $BASH_VERSION
2.05b.0(1)-release
sh# KRB5_CONFIG=""
sh# test -x $KRB5_CONFIG && echo yes
yes
sh# test -x "$KRB5_CONFIG" && echo yes
sh#


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)