cmake HAVE_DIRNAME examples

CUBRID/cubrid CMakeLists.txt :450

check_function_exists(dirname HAVE_DIRNAME)