cmake HAVE_ERF examples

GenericMappingTools/gmt cmake/modules/ConfigureChecks.cmake :363

check_symbol_exists (erf         "${_math_h}" HAVE_ERF)