superenv: more 10.11 clock_gettime Autotools fixes

some build systems check ac_cv_search_clock_gettime instead of
ac_cv_func_clock_gettime so the former should also be set to "no"

libev.m4 unsets ac_cv_func_clock_gettime, but if ac_have_clock_syscall
is defined, it will leave ac_cv_func_clock_gettime alone:

  http://cvs.schmorp.de/libev/libev.m4?view=markup#l23
This commit is contained in:
ilovezfs 2016-09-28 03:31:32 -07:00
parent c1533e0ba4
commit 88a1b2853a

View File

@ -101,6 +101,11 @@ module Superenv
getentropy mkostemp mkostemps].each do |s| getentropy mkostemp mkostemps].each do |s|
ENV["ac_cv_func_#{s}"] = "no" ENV["ac_cv_func_#{s}"] = "no"
end end
ENV["ac_cv_search_clock_gettime"] = "no"
# works around libev.m4 unsetting ac_cv_func_clock_gettime
ENV["ac_have_clock_syscall"] = "no"
end end
# On 10.9, the tools in /usr/bin proxy to the active developer directory. # On 10.9, the tools in /usr/bin proxy to the active developer directory.