cmake HAVE_SELECT examples

zeromq/libzmq CMakeLists.txt :443

check_cxx_symbol_exists(select sys/select.h HAVE_SELECT)

crossuo/crossuo deps/cmcurl/CMakeLists.txt :952

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :212

check_symbol_exists(select "winsock2.h;ws2tcpip.h" HAVE_SELECT)

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :213

check_symbol_exists(poll "winsock2.h;ws2tcpip.h" HAVE_SELECT)

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :226

check_function_exists(select HAVE_SELECT)

monkey/monkey mk_core/CMakeLists.txt :96

check_c_source_compiles("
  #include <stdio.h>
  #include <sys/select.h>
  int main() {
     fd_set rfds;
     struct timeval tv;
     return select(1, &rfds, NULL, NULL, &tv);
  }" HAVE_SELECT)

alibaba/AliSQL configure.cmake :817

CHECK_C_SOURCE_COMPILES("
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#endif
int main()
{
  select(0,0,0,0,0);
  return 0;
}"
HAVE_SELECT)

baresip/re cmake/re-config.cmake :118

list(APPEND RE_DEFINITIONS
  HAVE_ATOMIC
  HAVE_SELECT
  )

fluent/fluent-bit lib/monkey/mk_core/CMakeLists.txt :96

check_c_source_compiles("
  #include <stdio.h>
  #include <sys/select.h>
  int main() {
     fd_set rfds;
     struct timeval tv;
     return select(1, &rfds, NULL, NULL, &tv);
  }" HAVE_SELECT)

arkdb/arkproxy configure.cmake :575

CHECK_C_SOURCE_COMPILES("
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#endif
int main()
{
  select(0,0,0,0,0);
  return 0;
}"
HAVE_SELECT)

obgm/libcoap CMakeLists.txt :305

check_function_exists(select HAVE_SELECT)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/libcurl/LibCurl.cmake :954

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

InsightSoftwareConsortium/ITK Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt :136

CHECK_FUNCTION_EXISTS(select   HAVE_SELECT)

hatari/hatari CMakeLists.txt :231

check_symbol_exists(select "sys/select.h" HAVE_SELECT)

p4lang/open-p4studio cmake/ConfigureChecks.cmake :86

check_function_exists(select HAVE_SELECT)

p4lang/open-p4studio pkgsrc/target-syslibs/cmake/ConfigureChecks.cmake :75

check_function_exists(select HAVE_SELECT)

p4lang/open-p4studio pkgsrc/target-utils/cmake/ConfigureChecks.cmake :77

check_function_exists(select HAVE_SELECT)

percona/percona-server extra/curl/curl-8.14.1/CMakeLists.txt :1772

check_symbol_exists("select"          "${CURL_INCLUDES}" HAVE_SELECT)

logicalclocks/rondb extra/curl/curl-8.11.1/CMakeLists.txt :1572

check_symbol_exists("select"          "${CURL_INCLUDES}" HAVE_SELECT)

alibaba/AliSQLBackup configure.cmake :731

CHECK_C_SOURCE_COMPILES("
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#endif
int main()
{
  select(0,0,0,0,0);
  return 0;
}"
HAVE_SELECT)

pingcap/tiflash contrib/curl-cmake/CMakeLists.txt :1050

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

skylersaleh/SkyEmu src/curl/CMakeLists.txt :1196

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

PacktPublishing/The-Modern-Cpp-Challenge libs/curl/CMakeLists.txt :819

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

gridlab-d/gridlab-d cmake/CheckDependencies.cmake :57

CHECK_FUNCTION_EXISTS(select HAVE_SELECT)

polardb/polardbx-engine extra/curl/curl-7.86.0/CMakeLists.txt :1054

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

zeromq/zeromq4-1 CMakeLists.txt :88

check_function_exists(select HAVE_SELECT)

tanis2000/binocle-c src/deps/curl/CMakeLists.txt :180

add_definitions(-DHAVE_SELECT)

tanis2000/binocle-c src/deps/curl/CMakeLists.txt :279

add_definitions(-DHAVE_SELECT)

asset-group/5ghoul-5g-nr-attacks libs/libzmq/CMakeLists.txt :411

check_cxx_symbol_exists(select sys/select.h HAVE_SELECT)

asset-group/5ghoul-5g-nr-attacks libs/react-cpp/libev/CMakeLists.txt :48

check_symbol_exists(select       sys/select.h   HAVE_SELECT)

percona/percona-xtrabackup extra/curl/curl-8.9.1/CMakeLists.txt :1325

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

GreatSQL/GreatSQL extra/curl/curl-7.86.0/CMakeLists.txt :1054

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

JulNadeauCA/libagar CMakeChecks.cmake :2575

check_c_source_compiles("
#include <sys/types.h>
#include <sys/time.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>

int
main(int argc, char *argv[])
{
	struct timeval tv;
	int rv;

	tv.tv_sec = 1;
	tv.tv_usec = 1;
	rv = select(0, NULL, NULL, NULL, &tv);
	return (rv == -1 && errno != EINTR);
}
" HAVE_SELECT)

ShadowsocksR-Live/shadowsocksr-native cmake/configure.cmake :102

check_function_exists ( select HAVE_SELECT )

ShadowsocksR-Live/shadowsocksr-native cmake/configure.cmake :131

check_function_exists(select HAVE_SELECT)

ggarra13/mrv2 tlRender/etc/SuperBuild/patches/Libssh2-patch/CMakeLists.txt :259

check_function_exists(select HAVE_SELECT)

gazebosim/gazebo-classic deps/opende/CMakeLists.txt :81

CHECK_CXX_SOURCE_COMPILES("#include <sys/select.h> 
int main() {select(0,0,0,0,0); return 1;}" HAVE_SELECT)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/curl/CMakeLists.txt :1207

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/source/thirdparty/curl/CMakeLists.txt :1001

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

apache/nuttx-apps crypto/tinydtls/CMakeLists.txt :47

target_compile_definitions(
    tinydtls
    PRIVATE HAVE_ARPA_INET_H
            HAVE_ASSERT_H
            HAVE_FCNTL_H
            HAVE_GETRANDOM
            HAVE_INTTYPES_H
            HAVE_MEMSET
            HAVE_NETDB_H
            HAVE_NETINET_IN_H
            HAVE_RANDOM
            HAVE_SELECT
            HAVE_SOCKET
            HAVE_STDDEF_H
            HAVE_STDINT_H
            HAVE_STDLIB_H
            HAVE_STRDUP
            HAVE_STRERROR
            HAVE_STRINGS_H
            HAVE_STRING_H
            HAVE_STRNLEN
            HAVE_SYS_SOCKET_H
            HAVE_SYS_STAT_H
            HAVE_SYS_TIME_H
            HAVE_SYS_TYPES_H
            HAVE_TIME_H
            HAVE_UNISTD_H
            HAVE_VPRINTF
            HAVE_SNPRINTF)

infiniflow/infinity third_party/curl/CMakeLists.txt :1488

check_symbol_exists("select"          "${CURL_INCLUDES}" HAVE_SELECT)

percona/percona-xtradb-cluster extra/curl/curl-8.12.1/CMakeLists.txt :1710

check_symbol_exists("select"          "${CURL_INCLUDES}" HAVE_SELECT)

facebook/mysql-5.6 extra/curl/curl-7.86.0/CMakeLists.txt :1054

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

AshamaneProject/AshamaneCore dep/cpr/opt/curl/CMakeLists.txt :821

check_symbol_exists(select        "${CURL_INCLUDES}" HAVE_SELECT)

mysql/mysql-server extra/curl/curl-8.14.1/CMakeLists.txt :1772

check_symbol_exists("select"          "${CURL_INCLUDES}" HAVE_SELECT)