|  | @ -35,17 +35,15 @@ TOOLCHECK += find-tic | 
			
		
	
		
		
			
				
					|  |  | TOOLCHECK += find-yacc |  |  | TOOLCHECK += find-yacc | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | find-%: |  |  | find-%: | 
			
		
	
		
		
			
				
					
					|  |  | 	@TOOL=$(patsubst find-%,%,$(@)); \
 |  |  | 	@TOOL=$(patsubst find-%,%,$(@)); type -p $$TOOL >/dev/null || \
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 	type -p $$TOOL >/dev/null || { echo "required tool $$TOOL missing."; false; } |  |  | 		{ $(call MESSAGE_RED,"Warning",": required tool $$TOOL missing."); false; } | 
			
				
				
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  | toolcheck: $(TOOLCHECK) |  |  |  | 
			
		
	
		
		
			
				
					|  |  | 	@echo "All required tools seem to be installed." |  |  |  | 
			
		
	
		
		
			
				
					|  |  | 	@make bashcheck |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | bashcheck: |  |  | bashcheck: | 
			
		
	
		
		
			
				
					
					|  |  | 	@if test "$(subst /bin/,,$(shell readlink /bin/sh))" != "bash"; then \
 |  |  | 	@test "$(subst /bin/,,$(shell readlink /bin/sh))" == "bash" || \
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 		@$(call MESSAGE_RED,"Warning",": /bin/sh is not linked to bash"); \
 |  |  | 		{ $(call MESSAGE_RED,"Warning",": /bin/sh is not linked to bash"); false; } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 	fi |  |  | 
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  | toolcheck: bashcheck $(TOOLCHECK) | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 	@$(call MESSAGE_GREEN,"All required tools seem to be installed.") | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | # -----------------------------------------------------------------------------
 |  |  | # -----------------------------------------------------------------------------
 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |