Merge pull request #3196 from ilovezfs/ac_cv_xcode9-2
superenv: more help for Autotools with 10.13 SDK on 10.12
This commit is contained in:
		
						commit
						804d6880dd
					
				@ -99,8 +99,9 @@ module Superenv
 | 
			
		||||
    # Filter out symbols known not to be defined since GNU Autotools can't
 | 
			
		||||
    # reliably figure this out with Xcode 8 and above.
 | 
			
		||||
    if MacOS.version == "10.12" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "9.0"
 | 
			
		||||
      ENV["ac_cv_func_futimens"] = "no"
 | 
			
		||||
      ENV["ac_cv_func_utimensat"] = "no"
 | 
			
		||||
      %w[fmemopen futimens open_memstream utimensat].each do |s|
 | 
			
		||||
        ENV["ac_cv_func_#{s}"] = "no"
 | 
			
		||||
      end
 | 
			
		||||
    elsif MacOS.version == "10.11" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0"
 | 
			
		||||
      %w[basename_r clock_getres clock_gettime clock_settime dirname_r
 | 
			
		||||
         getentropy mkostemp mkostemps timingsafe_bcmp].each do |s|
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user