1function(get_test_prerequirements found_var config_file)
2  if(EXISTS "/bin/sh")
3    #gunzip is not part of posix so we should not rely on it being installed
4    find_program(GUNZIP_EXECUTABLE gunzip)
5
6    if(GUNZIP_EXECUTABLE)
7      file(WRITE "${config_file}" "")
8      set(${found_var} true PARENT_SCOPE)
9    endif()
10  endif()
11endfunction()
12