You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			407 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			407 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
dnl @synopsis CXX_FLAGS_CHECK [compiler flags]
 | 
						|
dnl @summary check whether compiler supports given flags or not
 | 
						|
AC_DEFUN([CXX_FLAG_CHECK],
 | 
						|
[dnl
 | 
						|
	AC_MSG_CHECKING([if $CXX supports $1])
 | 
						|
	ac_saved_cxxflags="$CXXFLAGS"
 | 
						|
	CXXFLAGS="-Werror $1"
 | 
						|
	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
 | 
						|
		[AC_MSG_RESULT([yes])
 | 
						|
		cxx_extra_flags="$cxx_extra_flags $1"],
 | 
						|
		[AC_MSG_RESULT([no])]
 | 
						|
	)
 | 
						|
	CXXFLAGS="$ac_saved_cxxflags"
 | 
						|
])
 | 
						|
 |