cmake HAVE_CC_GCC examples

JulNadeauCA/libagar CMakeChecks.cmake :438

check_c_source_compiles("
#if !defined(__GNUC__) || defined(__clang__)
# error \"is not gcc\"
#endif
int main(int argc, char *argv[]) { return (0); }
" HAVE_CC_GCC)