mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
build-sys: mark block begin and ends
Done with Egyptian brackets, or K&R style as they are also known. Change-Id: Ifeaf3ca29be5d4846738ec937ce07728771c5f16 Reviewed-on: http://gerrit.openafs.org/10010 Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
ab57d699e5
commit
3bde02595b
52
configure.ac
52
configure.ac
@ -59,28 +59,32 @@ AS_IF([test x"$KRB5_LIBS" != x],
|
||||
MAKE_KRB5=
|
||||
RRA_LIB_KRB5_SWITCH
|
||||
AC_CHECK_FUNCS([add_error_table \
|
||||
add_to_error_table \
|
||||
encode_krb5_enc_tkt_part \
|
||||
encode_krb5_ticket \
|
||||
add_to_error_table \
|
||||
encode_krb5_enc_tkt_part \
|
||||
encode_krb5_ticket \
|
||||
krb5_524_conv_principal \
|
||||
krb5_allow_weak_crypto \
|
||||
krb5_c_encrypt \
|
||||
krb5_decode_ticket \
|
||||
krb5_enctype_enable \
|
||||
krb5_get_init_creds_opt_alloc \
|
||||
krb5_get_prompt_types \
|
||||
krb5_princ_size \
|
||||
krb5_principal_get_comp_string])
|
||||
krb5_allow_weak_crypto \
|
||||
krb5_c_encrypt \
|
||||
krb5_decode_ticket \
|
||||
krb5_enctype_enable \
|
||||
krb5_get_init_creds_opt_alloc \
|
||||
krb5_get_prompt_types \
|
||||
krb5_princ_size \
|
||||
krb5_principal_get_comp_string])
|
||||
AC_CHECK_FUNCS([krb5_524_convert_creds], [],
|
||||
[AC_CHECK_FUNCS([krb524_convert_creds_kdc], [],
|
||||
[AC_CHECK_LIB([krb524], [krb524_convert_creds_kdc],
|
||||
[LIBS="-lkrb524 $LIBS"
|
||||
KRB5_LIBS="-lkrb524 $KRB5_LIBS"
|
||||
AC_CHECK_LIB([krb524], [krb5_524_conv_principal],
|
||||
[AC_DEFINE([HAVE_KRB5_524_CONV_PRINCIPAL], 1,
|
||||
[Define to 1 if you have the `krb5_524_conv_principal' function.])])
|
||||
AC_DEFINE([HAVE_KRB524_CONVERT_CREDS_KDC], 1,
|
||||
[Define to 1 if you have the `krb524_convert_creds_kdc' function.])])])])
|
||||
[AC_CHECK_FUNCS([krb524_convert_creds_kdc], [],
|
||||
[AC_CHECK_LIB([krb524], [krb524_convert_creds_kdc],
|
||||
[LIBS="-lkrb524 $LIBS"
|
||||
KRB5_LIBS="-lkrb524 $KRB5_LIBS"
|
||||
AC_CHECK_LIB([krb524], [krb5_524_conv_principal],
|
||||
[AC_DEFINE([HAVE_KRB5_524_CONV_PRINCIPAL], [1],
|
||||
[Define to 1 if you have the `krb5_524_conv_principal' function.])
|
||||
])
|
||||
AC_DEFINE([HAVE_KRB524_CONVERT_CREDS_KDC], [1],
|
||||
[Define to 1 if you have the `krb524_convert_creds_kdc' function.])
|
||||
])
|
||||
])
|
||||
])
|
||||
AC_CHECK_HEADERS([kerberosIV/krb.h])
|
||||
AC_CHECK_HEADERS([kerberosV/heim_err.h])
|
||||
AC_CHECK_MEMBERS([krb5_creds.keyblock, krb5_creds.keyblock.enctype, krb5_creds.session,
|
||||
@ -90,9 +94,11 @@ dnl If we're using heimdal, aklog needs libasn1 for encode_EncTicketPart and a
|
||||
dnl few other functions. But just aklog; not any of the other stuff that uses
|
||||
dnl krb5.
|
||||
AS_IF([test x"$ac_cv_member_krb5_creds_session" = xyes],
|
||||
[AC_CHECK_LIB([asn1], [encode_EncTicketPart],
|
||||
[AKLOG_KRB5_LIBS="-lasn1"])])
|
||||
RRA_LIB_KRB5_RESTORE])
|
||||
[AC_CHECK_LIB([asn1], [encode_EncTicketPart],
|
||||
[AKLOG_KRB5_LIBS="-lasn1"])
|
||||
])
|
||||
RRA_LIB_KRB5_RESTORE
|
||||
])
|
||||
AC_SUBST([BUILD_KRB5])
|
||||
AC_SUBST([MAKE_KRB5])
|
||||
AC_SUBST([AKLOG_KRB5_LIBS])
|
||||
|
Loading…
Reference in New Issue
Block a user