superenv: help gettext-based configure scripts

This commit is contained in:
Francois-Xavier Coudert 2023-09-14 15:19:48 +02:00
parent c953076609
commit e1ca3b5c35

View File

@ -120,6 +120,12 @@ module Superenv
ENV["ac_have_clock_syscall"] = "no"
end
# On macOS Sonoma (at least release candidate), iconv() is generally
# present and working, but has a minor regression that defeats the
# test implemented in gettext's configure script (and used by many
# gettext dependents).
ENV["am_cv_func_iconv_works"] = "yes" if MacOS.version == "14"
# The tools in /usr/bin proxy to the active developer directory.
# This means we can use them for any combination of CLT and Xcode.
self["HOMEBREW_PREFER_CLT_PROXIES"] = "1"