Merge commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90'
* commit 'a5e011c8dcbf6968cc60f883d33382ba46147e90': configure: Add check_cmd() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
		
						commit
						40e32f83c6
					
				
							
								
								
									
										8
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @ -967,6 +967,14 @@ test_as(){ | |||||||
|     test_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPS |     test_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPS | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | check_cmd(){ | ||||||
|  |     log check_cmd "$@" | ||||||
|  |     cmd=$1 | ||||||
|  |     disabled $cmd && return | ||||||
|  |     disable $cmd | ||||||
|  |     test_cmd $@ && enable $cmd | ||||||
|  | } | ||||||
|  | 
 | ||||||
| check_inline_asm(){ | check_inline_asm(){ | ||||||
|     log check_inline_asm "$@" |     log check_inline_asm "$@" | ||||||
|     name="$1" |     name="$1" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user