diff options
author | Russ Allbery <eagle@eyrie.org> | 2020-05-17 19:30:54 -0700 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2020-05-17 19:30:54 -0700 |
commit | f5d8568f66a66511eb4f38ef985216761fa1bb01 (patch) | |
tree | 348c803c19f46fe5150d50db34dff6f2e8580e9b /configure.ac | |
parent | 30220b381ac2a5c804f017c91324115670cad43a (diff) |
Fix compilation with Heimdal
Add a missing configure probe for krb5_xfree. If
krb5_524_conv_principal is not available, return an error if asked
to create a srvtab. (This function has been removed in current
Heimdal.) Adjust the test suite to handle this case.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index ef78a05..80eeee1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Autoconf configuration for wallet. dnl dnl Written by Russ Allbery <eagle@eyrie.org> -dnl Copyright 2014, 2016, 2018 Russ Allbery <eagle@eyrie.org> +dnl Copyright 2014, 2016, 2018, 2020 Russ Allbery <eagle@eyrie.org> dnl Copyright 2006-2008, 2010, 2013-2014 dnl The Board of Trustees of the Leland Stanford Junior University dnl @@ -58,10 +58,12 @@ RRA_LIB_REMCTL RRA_LIB_KRB5 RRA_LIB_KRB5_SWITCH AC_CHECK_TYPES([krb5_realm], [], [], [RRA_INCLUDES_KRB5]) -AC_CHECK_FUNCS([krb5_free_default_realm \ +AC_CHECK_FUNCS([krb5_524_conv_principal \ + krb5_free_default_realm \ krb5_get_init_creds_opt_alloc \ krb5_get_init_creds_opt_set_default_flags \ - krb5_principal_get_realm]) + krb5_principal_get_realm \ + krb5_xfree]) AC_CHECK_FUNCS([krb5_get_init_creds_opt_free], [RRA_FUNC_KRB5_GET_INIT_CREDS_OPT_FREE_ARGS]) AC_CHECK_DECLS([krb5_kt_free_entry], [], [], [RRA_INCLUDES_KRB5]) |