]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: add missing checks
authorDaniel Stenberg <daniel@haxx.se>
Wed, 27 Sep 2023 11:37:43 +0000 (13:37 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Sep 2023 21:00:43 +0000 (23:00 +0200)
commit9b517c8b69a1f365fdb6f54f7153561182285b6c
tree3bb55a793c74164fed0068ec9bf30de3378bf170
parent2ba804942fda50bbd385c743309a7ec8aca2cf47
cmake: add missing checks

- check for arc4random. To make rand.c use it accordingly.
- check for fcntl
- fix fseek detection
- add SIZEOF_CURL_SOCKET_T
- fix USE_UNIX_SOCKETS
- define HAVE_SNPRINTF to 1
- check for fnmatch
- check for sched_yield
- remove HAVE_GETPPID duplicate from curl_config.h
- add HAVE_SENDMSG

Ref: #11964

Co-authored-by: Viktor Szakats
Closes #11973
CMake/Platforms/WindowsCache.cmake
CMakeLists.txt
lib/curl_config.h.cmake