cmake HAVE_SCANDIR examples

LibreDWG/libredwg CMakeLists.txt :101

check_symbol_exists("scandir" "dirent.h" HAVE_SCANDIR)

gammu/gammu CMakeLists.txt :110

check_function_exists (scandir HAVE_SCANDIR)

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

CHECK_FUNCTION_EXISTS(scandir HAVE_SCANDIR)