[SSSD] [PATCH] Added a kerberos wrapper for building compatibility
Sumit Bose
sbose at redhat.com
Wed May 4 14:23:10 UTC 2011
On Tue, May 03, 2011 at 12:44:46PM +0200, Jan Zelený wrote:
> Function sss_krb5_unparse_name_flags and some of its supporting functions have
> been added in order to ensure compilation on systems having kerberos < 1.8.
>
> Currently I don't have any machine with RHEL5, so please be sure to test the
> patch on it.
>
> Thanks
> Jan
>
> +SAFE_LIBS="$LIBS"
> +LIBS="-lkrb5"
> +AC_CHECK_FUNC([krb5_unparse_name_flags],
> + AC_DEFINE([HAVE_KRB5_UNPARSE_NAME_FLAGS], [1],
> + [Define if krb5_unparse_name_flags exists]))
> +LIBS="$SAFE_LIBS"
> +
> if test x$HAVE_MANPAGES != x; then
> CHECK_XML_TOOLS
> CHECK_STYLESHEET([$SGML_CATALOG_FILES],
Please put this check in src/external/krb5.m4 there is already a
AC_CHECK_FUNC for calls from libkrb5.
bye,
Sumit
More information about the sssd-devel
mailing list