goatshriek/stumpless
CMakeLists.txt
:83
check_symbol_exists(gethostbyname2 netdb.h HAVE_GETHOSTBYNAME2)
check_symbol_exists(gethostbyname2 netdb.h HAVE_GETHOSTBYNAME2)
elseif(HAVE_GETHOSTBYNAME2 OR HAVE_GETHOSTBYNAME)
check_function_exists("gethostbyname2" HAVE_GETHOSTBYNAME2)
check_function_exists(gethostbyname2 HAVE_GETHOSTBYNAME2)