Ethereal-dev: [Ethereal-dev] [patch] Search harder for krb5-config

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

From: Brad Hards <bradh@xxxxxxxxxxxxx>
Date: Wed, 23 Feb 2005 22:24:58 +1100
I haven't played with Ethereal for a while, and I was keen to see the new 
stuff that has been introduced. Looks even better than before, and it was 
good then :-)

One of the particular things I wanted to see was the enhanced crypto support. 
Alas, my build (on a FC2 box) refused to see krb5-config. Turns out that it 
is installed in /usr/kerberos/bin. Seems very silly to me, but it is shipped 
product anyway, so it would be nice to support it if possible. This seems to 
be about the simplest patch possible to fix it:

--- clean/ethereal-0.10.9-SVN-13436/acinclude.m4        2005-02-20 
15:25:24.000000000 +1100
+++ ethereal-0.10.9-SVN-13436/acinclude.m4      2005-02-23 21:55:17.000000000 
+1100
@@ -986,7 +986,7 @@
          AC_DEFINE(HAVE_MIT_KERBEROS, 1, [Define to use MIT kerberos])
          fi
        else
-         AC_PATH_PROG(KRB5_CONFIG, krb5-config)
+         AC_PATH_PROG(KRB5_CONFIG, krb5-config,, [$PATH:/usr/kerberos/bin])
          if test -x "$KRB5_CONFIG"
          then
            KRB5_FLAGS=`"$KRB5_CONFIG" --cflags`

If that is OK, can it please be committed?

Brad

Attachment: pgpWgEFvSCnI1.pgp
Description: PGP signature