cmake HAVE_CC_SHARED examples

htcondor/htcondor build/cmake/CondorConfigure.cmake :964

check_cxx_compiler_flag(-shared HAVE_CC_SHARED)