cmake HAVE_STRNCMP examples

gccxml/gccxml GCC/config_cmake/CMakeLists.txt :234

CHECK_FUNCTION_EXISTS(strncmp HAVE_STRNCMP)