@@ -9691,7 +9691,10 @@ done
96919691
96929692
96939693
9694- for ac_header in crypt.h dld.h fp_class.h getopt.h ieeefp.h langinfo.h poll.h pwd.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/tas.h sys/time.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h
9694+
9695+
9696+
9697+ for ac_header in crypt.h dld.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h poll.h pwd.h sys/ioctl.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/socket.h sys/sockio.h sys/tas.h sys/time.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h
96959698do
96969699as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
96979700if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -9842,6 +9845,75 @@ fi
98429845done
98439846
98449847
9848+ # On BSD, cpp test for net/if.h will fail unless sys/socket.h
9849+ # is included first.
9850+
9851+ for ac_header in net/if.h
9852+ do
9853+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9854+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9855+ $as_echo_n "checking for $ac_header... " >&6; }
9856+ if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9857+ $as_echo_n "(cached) " >&6
9858+ else
9859+ cat >conftest.$ac_ext <<_ACEOF
9860+ /* confdefs.h. */
9861+ _ACEOF
9862+ cat confdefs.h >>conftest.$ac_ext
9863+ cat >>conftest.$ac_ext <<_ACEOF
9864+ /* end confdefs.h. */
9865+ $ac_includes_default
9866+ #ifdef HAVE_SYS_SOCKET_H
9867+ #include <sys/socket.h>
9868+ #endif
9869+
9870+
9871+ #include <$ac_header>
9872+ _ACEOF
9873+ rm -f conftest.$ac_objext
9874+ if { (ac_try="$ac_compile"
9875+ case "(($ac_try" in
9876+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9877+ *) ac_try_echo=$ac_try;;
9878+ esac
9879+ eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9880+ $as_echo "$ac_try_echo") >&5
9881+ (eval "$ac_compile") 2>conftest.er1
9882+ ac_status=$?
9883+ grep -v '^ *+' conftest.er1 >conftest.err
9884+ rm -f conftest.er1
9885+ cat conftest.err >&5
9886+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887+ (exit $ac_status); } && {
9888+ test -z "$ac_c_werror_flag" ||
9889+ test ! -s conftest.err
9890+ } && test -s conftest.$ac_objext; then
9891+ eval "$as_ac_Header=yes"
9892+ else
9893+ $as_echo "$as_me: failed program was:" >&5
9894+ sed 's/^/| /' conftest.$ac_ext >&5
9895+
9896+ eval "$as_ac_Header=no"
9897+ fi
9898+
9899+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9900+ fi
9901+ ac_res=`eval 'as_val=${'$as_ac_Header'}
9902+ $as_echo "$as_val"'`
9903+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9904+ $as_echo "$ac_res" >&6; }
9905+ as_val=`eval 'as_val=${'$as_ac_Header'}
9906+ $as_echo "$as_val"'`
9907+ if test "x$as_val" = x""yes; then
9908+ cat >>confdefs.h <<_ACEOF
9909+ #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9910+ _ACEOF
9911+
9912+ fi
9913+
9914+ done
9915+
9916+
98459917# At least on IRIX, cpp test for netinet/tcp.h will fail unless
98469918# netinet/in.h is included first.
98479919
@@ -17327,7 +17399,8 @@ fi
1732717399
1732817400
1732917401
17330- for ac_func in cbrt dlopen fcvt fdatasync getpeereid getpeerucred getrlimit memmove poll pstat readlink setproctitle setsid sigprocmask symlink sysconf towlower utime utimes waitpid wcstombs
17402+
17403+ for ac_func in cbrt dlopen fcvt fdatasync getifaddrs getpeereid getpeerucred getrlimit memmove poll pstat readlink setproctitle setsid sigprocmask symlink sysconf towlower utime utimes waitpid wcstombs
1733117404do
1733217405as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1733317406{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
0 commit comments