@ -20,3 +20,9 @@ if atstage cross; then
# assume we have gettimeofday()
var_append configcache ' ' "ac_cv_func_gettimeofday=yes"
fi
if ! pkginstalled -f libgcrypt; then
var_append extraconfopt ' ' "--without-gcrypt"
else
var_append extraconfopt ' ' "--with-libgcrypt-prefix=$( pkgprefix -r libgcrypt )"