cvsdist ffdec57
Search the path for krb5-config if the prefix wasn't specified.
cvsdist ffdec57
--- openssh-3.8p1/configure.ac	2004-02-26 21:17:12.000000000 -0500
cvsdist ffdec57
+++ openssh-3.8p1/configure.ac	2004-02-26 21:17:06.000000000 -0500
cvsdist ffdec57
@@ -2077,8 +2077,10 @@
cvsdist ffdec57
 		KRB5_MSG="yes"
cvsdist ffdec57
 
cvsdist ffdec57
 		AC_MSG_CHECKING(for krb5-config)
cvsdist ffdec57
-		if test -x  $KRB5ROOT/bin/krb5-config ; then
cvsdist ffdec57
-			KRB5CONF=$KRB5ROOT/bin/krb5-config
cvsdist ffdec57
+		AC_PATH_PROG([KRB5CONF],[krb5-config],
cvsdist ffdec57
+			     [$KRB5ROOT/bin/krb5-config],
cvsdist ffdec57
+			     [$KRB5ROOT/bin:$PATH])
cvsdist ffdec57
+		if test -x $KRB5CONF ; then
cvsdist ffdec57
 			AC_MSG_RESULT($KRB5CONF)
cvsdist ffdec57
 
cvsdist ffdec57
 			AC_MSG_CHECKING(for gssapi support)