cmake HAVE__GETCWD examples

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

check_symbol_exists (_getcwd   direct.h HAVE__GETCWD)