bugzilla-daemon at mindrot.org
2003-Oct-17 11:13 UTC
[Bug 635] openssh-SNAP-20030903: configure does not work well with heimdal(krb5)
http://bugzilla.mindrot.org/show_bug.cgi?id=635 ------- Additional Comments From mmokrejs at natur.cuni.cz 2003-10-17 21:13 ------- Please commit the patch http://bugzilla.mindrot.org/attachment.cgi?id=396&action=view and close this bug. KRB5 does not work, but I don't care anymore as there's krb4 patch from ftp://ftp.mcc.ac.uk/pub/misc/ssh/ . :) Thanks! ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-17 13:11 UTC
[Bug 635] openssh-SNAP-20030903: configure does not work well with heimdal(krb5)
http://bugzilla.mindrot.org/show_bug.cgi?id=635 ------- Additional Comments From djm at mindrot.org 2003-10-17 23:11 ------- (From update of attachment 396) This bug is unreadable. What part of "Do not enter patches, source code or long debug traces here. Please use the Attachments feature instead" slipped people's attention?> AC_CHECK_LIB(gssapi,gss_init_sec_context, > [ AC_DEFINE(GSSAPI)We should do SAVED_K5LIBS="$K5LIBS" here>+ have_gssapi=1 > K5LIBS="-lgssapi $K5LIBS" ], > [ AC_CHECK_LIB(gssapi_krb5,gss_init_sec_context, > [ AC_DEFINE(GSSAPI) >+ have_gssapi=1 > K5LIBS="-lgssapi_krb5 $K5LIBS" ], > AC_MSG_WARN([Cannot find any suitable gss-api library - build may fail]),We should restore: K5LIBS="$SAVED_k5LIBS" here>+ >+ if test ! -z "$have_gssapi" -a ! -z "${KRB5CONF}" ; then >+ K5LIBS="`${KRB5CONF} --libs gssapi`" >+ CPPFLAGS="$CPPFLAGS `${KRB5CONF} --cflagsWe should add to K5LIBS and CPPFLAGS here, no? e.g. GSSLIBS="`${KRB5CONF} --libs gssapi" K5LIBS="$K5LIBS $GSSLIBS" I don't have any systems that use krb5-config, so someone else will need to test. I have no objections to this approach though. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.