vishalmishra434 / rpms / openssh

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