@@ -15119,20 +15119,6 @@ cat >>confdefs.h <<_ACEOF
15119
15119
_ACEOF
15120
15120
15121
15121
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
-
15136
15122
fi
15137
15123
15138
15124
@@ -16533,34 +16519,6 @@ esac
16533
16519
$as_echo "$as_me: On $host_os we will use our strtof wrapper." >&6;}
16534
16520
fi
16535
16521
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
-
16564
16522
# Similarly, use system's getopt_long() only if system provides struct option.
16565
16523
if test x"$ac_cv_type_struct_option" = xyes ; then
16566
16524
ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
0 commit comments