configure: warn if pkg-config is missing
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
		
							parent
							
								
									af1ca249e8
								
							
						
					
					
						commit
						762f95e4cb
					
				
							
								
								
									
										5
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@ -1827,6 +1827,11 @@ set_default cc nm pkg_config sysinclude
 | 
			
		||||
enabled cross_compile || host_cc_default=$cc
 | 
			
		||||
set_default host_cc
 | 
			
		||||
 | 
			
		||||
if ! $pkg_config --version >/dev/null 2>&1; then
 | 
			
		||||
    warn "$pkg_config not found, library detection may fail."
 | 
			
		||||
    pkg_config=false
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
exesuf() {
 | 
			
		||||
    case $1 in
 | 
			
		||||
        mingw32*|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user