@@ -15119,20 +15119,6 @@ cat >>confdefs.h <<_ACEOF
1511915119_ACEOF
1512015120
1512115121
15122- fi
15123-
15124- ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
15125- #include <sys/socket.h>
15126- #include <netdb.h>
15127-
15128- "
15129- if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
15130-
15131- cat >>confdefs.h <<_ACEOF
15132- #define HAVE_STRUCT_ADDRINFO 1
15133- _ACEOF
15134-
15135-
1513615122fi
1513715123
1513815124
@@ -16533,34 +16519,6 @@ esac
1653316519$as_echo "$as_me: On $host_os we will use our strtof wrapper." >&6;}
1653416520fi
1653516521
16536- # System's version of getaddrinfo(), if any, may be used only if we found
16537- # a definition for struct addrinfo; see notes in src/include/getaddrinfo.h.
16538- # We use only our own getaddrinfo.c on Windows, but it's time to revisit that.
16539- if test x"$ac_cv_type_struct_addrinfo" = xyes && \
16540- test "$PORTNAME" != "win32"; then
16541- ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
16542- if test "x$ac_cv_func_getaddrinfo" = xyes; then :
16543- $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
16544-
16545- else
16546- case " $LIBOBJS " in
16547- *" getaddrinfo.$ac_objext "* ) ;;
16548- *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
16549- ;;
16550- esac
16551-
16552- fi
16553-
16554-
16555- else
16556- case " $LIBOBJS " in
16557- *" getaddrinfo.$ac_objext "* ) ;;
16558- *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
16559- ;;
16560- esac
16561-
16562- fi
16563-
1656416522# Similarly, use system's getopt_long() only if system provides struct option.
1656516523if test x"$ac_cv_type_struct_option" = xyes ; then
1656616524 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
0 commit comments