ConfigureChecks.cmake: remove unused [__]res_send checks
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Mar 2020 14:06:36 +0000 (15:06 +0100)
committerAndreas Schneider <asn@samba.org>
Thu, 19 Mar 2020 16:12:41 +0000 (17:12 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
ConfigureChecks.cmake

index 579d1143dfaf4844c09d645aa45887f8e1e16813..ae817d9eb32e274e17128449749edd2dead79098 100644 (file)
@@ -55,11 +55,6 @@ else()
     message(STATUS "libresolv not found on ${CMAKE_SYSTEM_NAME}: Only dns faking will be available")
 endif()
 
-set(CMAKE_REQUIRED_LIBRARIES ${RESOLV_LIRBRARY})
-check_function_exists(res_send HAVE_RES_SEND)
-check_function_exists(__res_send HAVE___RES_SEND)
-unset(CMAKE_REQUIRED_LIBRARIES)
-
 set(CMAKE_REQUIRED_LIBRARIES ${RESOLV_LIRBRARY})
 check_function_exists(res_init HAVE_RES_INIT)
 check_function_exists(__res_init HAVE___RES_INIT)