cmake HAVE_FUNC examples

ceph/ceph cmake/modules/CephChecks.cmake :87

check_symbol_exists(__func__ "" HAVE_FUNC)