[Bug 635] openssh-SNAP-20030903: configure does not work well with heimdal(krb5)
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Oct 17 23:11:46 EST 2003
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} --cflags
We 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.
More information about the openssh-bugs
mailing list