cmake HAVE_GLOB_ONLYDIR examples

rpm-software-management/rpm CMakeLists.txt :396

check_symbol_exists(GLOB_ONLYDIR "glob.h" HAVE_GLOB_ONLYDIR)