robotology/yarp
extern/thrift/thrift/build/cmake/ConfigureChecks.cmake
:55
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname netdb.h HAVE_GETHOSTBYNAME)
elseif(HAVE_GETHOSTBYNAME2 OR HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
CHECK_FUNCTION_EXISTS(gethostbyname HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname netdb.h HAVE_GETHOSTBYNAME)
check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname netdb.h HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname netdb.h HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
check_function_exists("gethostbyname" HAVE_GETHOSTBYNAME)
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
check_function_exists("gethostbyname" HAVE_GETHOSTBYNAME)