cmake HAVE_GETHOSTBYNAME2 examples

boundary/wireshark ConfigureChecks.cmake :76

check_function_exists("gethostbyname2"   HAVE_GETHOSTBYNAME2)

bareos/bareos core/cmake/BareosCheckFunctions.cmake :50

check_function_exists(gethostbyname2 HAVE_GETHOSTBYNAME2)