package/zsh: add more cache variables for TRY_RUN

It turns out that zsh has a number of additional TRY_RUN calls. We
already set a few with cache variables, add a few more. They are found
based on reading the configure.ac, aczsh.m4, and the configure output.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Phil Eichinger <phil.eichinger@gmail.com>
Cc: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2022-07-28 21:16:48 +02:00 committed by Thomas Petazzoni
parent b573a70295
commit dba42986c0

View File

@ -14,6 +14,14 @@ ZSH_LICENSE = MIT-like
ZSH_LICENSE_FILES = LICENCE
ZSH_CPE_ID_VENDOR = zsh
# zsh uses TRY_RUN to determine these
ZSH_CONF_OPTS += \
zsh_cv_long_is_64_bit=$(if $(BR2_ARCH_IS_64),yes,no) \
zsh_cv_off_t_is_64_bit=yes \
zsh_cv_64_bit_type='long long' \
zsh_cv_64_bit_utype='unsigned long long' \
zsh_cv_printf_has_lld=yes
ifeq ($(BR2_PACKAGE_GDBM),y)
ZSH_CONF_OPTS += --enable-gdbm
ZSH_DEPENDENCIES += gdbm