[Groonga-commit] groonga/groonga at e0db31f [master] cmake: remove commented out unset()

Back to archive index

susumu.yata null+****@clear*****
Wed Oct 8 10:46:03 JST 2014


susumu.yata	2014-10-08 10:46:03 +0900 (Wed, 08 Oct 2014)

  New Revision: e0db31fc615e7cbd46234ab5191224830bea4509
  https://github.com/groonga/groonga/commit/e0db31fc615e7cbd46234ab5191224830bea4509

  Message:
    cmake: remove commented out unset()
    
    Redmine: refs #2442, #2582

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+0 -6)
===================================================================
--- CMakeLists.txt    2014-10-06 21:25:58 +0900 (b2dc96b)
+++ CMakeLists.txt    2014-10-08 10:46:03 +0900 (f1a57ab)
@@ -101,7 +101,6 @@ macro(check_cflag flag)
   string(REGEX REPLACE "[-=]" "_" temporary_variable_name ${flag})
   string(TOUPPER "${temporary_variable_name}" temporary_variable_name)
   set(temporary_variable_name "CFLAG${temporary_variable_name}")
-#  unset(${temporary_variable_name})
   check_c_compiler_flag(${flag} ${temporary_variable_name})
   if(${temporary_variable_name})
     message(STATUS "${checking_message} - available")
@@ -116,7 +115,6 @@ macro(check_cxxflag flag)
   string(REGEX REPLACE "[-=]" "_" temporary_variable_name ${flag})
   string(TOUPPER "${temporary_variable_name}" temporary_variable_name)
   set(temporary_variable_name "CXXFLAG${temporary_variable_name}")
-#  unset(${temporary_variable_name})
   check_cxx_compiler_flag(${flag} ${temporary_variable_name})
   if(${temporary_variable_name})
     message(STATUS "${checking_message} - available")
@@ -184,21 +182,18 @@ macro(ac_check_headers header)
   string(REGEX REPLACE "[/.]" "_" output_variable_name ${header})
   string(TOUPPER "${output_variable_name}" output_variable_name)
   set(output_variable_name "HAVE_${output_variable_name}")
-#  unset(${output_variable_name})
   check_include_file(${header} ${output_variable_name})
 endmacro()
 
 macro(ac_check_funcs function)
   string(TOUPPER "${function}" output_variable_name)
   set(output_variable_name "HAVE_${output_variable_name}")
-#  unset(${output_variable_name})
   check_function_exists(${function} ${output_variable_name})
 endmacro()
 
 macro(ac_check_symbols symbol files)
   string(TOUPPER "${symbol}" output_variable_name)
   set(output_variable_name "HAVE_${output_variable_name}")
-#  unset(${output_variable_name})
   check_symbol_exists(${symbol} ${files} ${output_variable_name})
 endmacro()
 
@@ -207,7 +202,6 @@ macro(ac_check_lib library function)
   string(TOUPPER "${output_variable_base_name}" output_variable_base_name)
   set(output_variable_name "HAVE_LIB${output_variable_base_name}")
   set(location "${ARG2}")
-#  unset(${output_variable_name})
   check_library_exists(${library} ${function} "${location}"
     ${output_variable_name})
   if(${output_variable_name})
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index