diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 5eaf77f163..c4c2b47d54 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -104,8 +104,6 @@ check_symbol_exists("floorl" "math.h" HAVE_FLOORL) check_symbol_exists("lrint" "math.h" HAVE_LRINT) cmake_pop_check_state() -check_function_exists("getaddrinfo" HAVE_GETADDRINFO) - check_function_exists("getopt_long" HAVE_GETOPT_LONG) if(HAVE_GETOPT_LONG) if(HAVE_GETOPT_H) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index ea674a7e5f..a965c1c54d 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -85,9 +85,6 @@ /* Define if you have the 'lrint' function. */ #cmakedefine HAVE_LRINT 1 -/* Define to 1 if you have the `getaddrinfo' function. */ -#cmakedefine HAVE_GETADDRINFO 1 - /* Define to 1 if you have the getopt_long function. */ #cmakedefine HAVE_GETOPT_LONG 1 diff --git a/config.h.win32 b/config.h.win32 index 9e66c4563c..d6a11e8fdf 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -82,9 +82,6 @@ /* Define if you have the floorl function. */ #define HAVE_FLOORL 1 -/* Define if you have the getaddrinfo function. */ -#define HAVE_GETADDRINFO 1 - /* Define if you have the getprotobynumber function. */ /* #undef HAVE_GETPROTOBYNUMBER */ diff --git a/configure.ac b/configure.ac index 2780d9d233..2b16f059d0 100644 --- a/configure.ac +++ b/configure.ac @@ -2677,7 +2677,6 @@ AC_REPLACE_FUNCS(inet_ntop) AC_REPLACE_FUNCS(strptime) AC_REPLACE_FUNCS(popcount) -AC_CHECK_FUNCS(getaddrinfo) AC_CHECK_FUNCS(mkstemp mkdtemp) AC_CHECK_FUNCS(getprotobynumber) AC_CHECK_FUNCS(issetugid)