1 ################################################################################
5 ################################################################################
8 LIBKRB5_SITE = https://web.mit.edu/kerberos/dist/krb5/$(LIBKRB5_VERSION)
9 LIBKRB5_SOURCE = krb5-$(LIBKRB5_VERSION).tar.gz
12 LIBKRB5_LICENSE_FILES = NOTICE
13 LIBKRB5_INSTALL_STAGING = YES
15 # The configure script uses AC_TRY_RUN tests to check for those values,
16 # which doesn't work in a cross-compilation scenario. Therefore,
17 # we feed the configure script with the correct answer for those tests
19 ac_cv_printf_positional=yes \
20 ac_cv_func_regcomp=yes \
21 krb5_cv_attr_constructor_destructor=yes,yes
23 # Never use the host packages
28 --without-system-verto
30 ifeq ($(BR2_PACKAGE_OPENLDAP),y)
31 LIBKRB5_CONF_OPTS += --with-ldap
32 LIBKRB5_DEPENDENCIES += openldap
34 LIBKRB5_CONF_OPTS += --without-ldap
37 ifeq ($(BR2_PACKAGE_LIBEDIT),y)
38 LIBKRB5_CONF_OPTS += --with-libedit
39 LIBKRB5_DEPENDENCIES += libedit
41 LIBKRB5_CONF_OPTS += --without-libedit
44 ifeq ($(BR2_PACKAGE_READLINE),y)
45 LIBKRB5_CONF_OPTS += --with-readline
46 LIBKRB5_DEPENDENCIES += readline
48 LIBKRB5_CONF_OPTS += --without-readline
51 ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
52 LIBKRB5_CONF_OPTS += --disable-thread-support
55 $(eval $(autotools-package))