diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-21 16:47:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-22 09:49:19 +0200 |
commit | c9c4f7b547190709622fb012c446d060710a7d9f (patch) | |
tree | b6af3bfee188bcc506dbfc5ae3615e13798d7909 /CMakeLists.txt | |
parent | 12e564ca200d4b313d7404f6de00a042e78ea819 (diff) | |
download | curl-c9c4f7b547190709622fb012c446d060710a7d9f.tar.gz |
configure/cmake: check for if_nametoindex()
- adds the check to cmake
- fixes the configure check to work for cross-compiled windows builds
Closes #3917
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c8c77e1d8..388f790db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -887,6 +887,7 @@ check_symbol_exists(ftruncate "${CURL_INCLUDES}" HAVE_FTRUNCATE) check_symbol_exists(getprotobyname "${CURL_INCLUDES}" HAVE_GETPROTOBYNAME) check_symbol_exists(getpeername "${CURL_INCLUDES}" HAVE_GETPEERNAME) check_symbol_exists(getsockname "${CURL_INCLUDES}" HAVE_GETSOCKNAME) +check_symbol_exists(if_nametoindex "${CURL_INCLUDES}" HAVE_IF_NAMETOINDEX) check_symbol_exists(getrlimit "${CURL_INCLUDES}" HAVE_GETRLIMIT) check_symbol_exists(setlocale "${CURL_INCLUDES}" HAVE_SETLOCALE) check_symbol_exists(setmode "${CURL_INCLUDES}" HAVE_SETMODE) |