cmake HAVE_GETHOSTID examples

DCMTK/dcmtk CMake/GenerateDCMTKConfigure.cmake :529

CHECK_FUNCTION_EXISTS(gethostid HAVE_GETHOSTID)