You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							16 lines
						
					
					
						
							378 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							16 lines
						
					
					
						
							378 B
						
					
					
				| dnl based on http://www.gnu.org/software/ac-archive/htmldoc/ac_check_cc_opt.html | |
| dnl from Guido Draheim <guidod@gmx.de> | |
| AC_DEFUN([AC_CHECK_CXX_FLAG], | |
| [AC_MSG_CHECKING([whether ${CXX} accepts $1]) | |
| 
 | |
| echo 'int main(){}' > conftest.c | |
| if test -z "`${CXX} $1 -o conftest conftest.c 2>&1`"; then | |
|   $2="${$2} $1" | |
|   echo "yes" | |
| else | |
|   echo "no" | |
| fi | |
| dnl echo "$2=${$2}" | |
| rm -f conftest* | |
| ]) | |
| 
 |