cmake HAVE_JN examples

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

check_symbol_exists (jn          "${_math_h}" HAVE_JN)