Lines Matching refs:if

411 #if defined(HAVE_PROTO_BSDSOCKET_H)
434 dnl included when net/if.h is to be included.
440 # include <net/if.h>
444 net/if.h,
468 dnl Verify if alarm is available, prototyped, and
482 AC_MSG_CHECKING([if alarm can be linked])
493 if test "$tst_links_alarm" = "yes"; then
494 AC_MSG_CHECKING([if alarm is prototyped])
506 if test "$tst_proto_alarm" = "yes"; then
507 AC_MSG_CHECKING([if alarm is compilable])
512 if(0 != alarm(0))
524 if test "$tst_compi_alarm" = "yes"; then
525 AC_MSG_CHECKING([if alarm usage allowed])
526 if test "x$curl_disallow_alarm" != "xyes"; then
535 AC_MSG_CHECKING([if alarm might be used])
536 if test "$tst_links_alarm" = "yes" &&
542 [Define to 1 if you have the alarm function.])
553 dnl Verify if basename is available, prototyped, and
569 AC_MSG_CHECKING([if basename can be linked])
580 if test "$tst_links_basename" = "yes"; then
581 AC_MSG_CHECKING([if basename is prototyped])
595 if test "$tst_proto_basename" = "yes"; then
596 AC_MSG_CHECKING([if basename is compilable])
603 if(0 != basename(0))
615 if test "$tst_compi_basename" = "yes"; then
616 AC_MSG_CHECKING([if basename usage allowed])
617 if test "x$curl_disallow_basename" != "xyes"; then
626 AC_MSG_CHECKING([if basename might be used])
627 if test "$tst_links_basename" = "yes" &&
633 [Define to 1 if you have the basename function.])
644 dnl Verify if closesocket is available, prototyped, and
658 AC_MSG_CHECKING([if closesocket can be linked])
663 if(0 != closesocket(0))
674 if test "$tst_links_closesocket" = "yes"; then
675 AC_MSG_CHECKING([if closesocket is prototyped])
687 if test "$tst_proto_closesocket" = "yes"; then
688 AC_MSG_CHECKING([if closesocket is compilable])
693 if(0 != closesocket(0))
705 if test "$tst_compi_closesocket" = "yes"; then
706 AC_MSG_CHECKING([if closesocket usage allowed])
707 if test "x$curl_disallow_closesocket" != "xyes"; then
716 AC_MSG_CHECKING([if closesocket might be used])
717 if test "$tst_links_closesocket" = "yes" &&
723 [Define to 1 if you have the closesocket function.])
734 dnl Verify if CloseSocket is available, prototyped, and
749 AC_MSG_CHECKING([if CloseSocket can be linked])
755 if(0 != CloseSocket(0))
766 if test "$tst_links_closesocket_camel" = "yes"; then
767 AC_MSG_CHECKING([if CloseSocket is prototyped])
780 if test "$tst_proto_closesocket_camel" = "yes"; then
781 AC_MSG_CHECKING([if CloseSocket is compilable])
787 if(0 != CloseSocket(0))
799 if test "$tst_compi_closesocket_camel" = "yes"; then
800 AC_MSG_CHECKING([if CloseSocket usage allowed])
801 if test "x$curl_disallow_closesocket_camel" != "xyes"; then
810 AC_MSG_CHECKING([if CloseSocket might be used])
811 if test "$tst_links_closesocket_camel" = "yes" &&
817 [Define to 1 if you have the CloseSocket camel case function.])
827 dnl Verify if fcntl is available, prototyped, and
841 AC_MSG_CHECKING([if fcntl can be linked])
852 if test "$tst_links_fcntl" = "yes"; then
853 AC_MSG_CHECKING([if fcntl is prototyped])
865 if test "$tst_proto_fcntl" = "yes"; then
866 AC_MSG_CHECKING([if fcntl is compilable])
871 if(0 != fcntl(0, 0, 0))
883 if test "$tst_compi_fcntl" = "yes"; then
884 AC_MSG_CHECKING([if fcntl usage allowed])
885 if test "x$curl_disallow_fcntl" != "xyes"; then
894 AC_MSG_CHECKING([if fcntl might be used])
895 if test "$tst_links_fcntl" = "yes" &&
901 [Define to 1 if you have the fcntl function.])
913 dnl Verify if fcntl with status flag O_NONBLOCK is
930 if test "$curl_cv_func_fcntl" = "yes"; then
931 AC_MSG_CHECKING([if fcntl O_NONBLOCK is compilable])
937 if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK))
949 if test "$tst_compi_fcntl_o_nonblock" = "yes"; then
950 AC_MSG_CHECKING([if fcntl O_NONBLOCK usage allowed])
951 if test "x$curl_disallow_fcntl_o_nonblock" != "xyes"; then
960 AC_MSG_CHECKING([if fcntl O_NONBLOCK might be used])
961 if test "$tst_compi_fcntl_o_nonblock" = "yes" &&
965 [Define to 1 if you have a working fcntl O_NONBLOCK function.])
976 dnl Verify if freeaddrinfo is available, prototyped,
992 AC_MSG_CHECKING([if freeaddrinfo can be linked])
1009 if test "$tst_links_freeaddrinfo" = "yes"; then
1010 AC_MSG_CHECKING([if freeaddrinfo is prototyped])
1024 if test "$tst_proto_freeaddrinfo" = "yes"; then
1025 AC_MSG_CHECKING([if freeaddrinfo is compilable])
1043 if test "$tst_compi_freeaddrinfo" = "yes"; then
1044 AC_MSG_CHECKING([if freeaddrinfo usage allowed])
1045 if test "x$curl_disallow_freeaddrinfo" != "xyes"; then
1054 AC_MSG_CHECKING([if freeaddrinfo might be used])
1055 if test "$tst_links_freeaddrinfo" = "yes" &&
1061 [Define to 1 if you have the freeaddrinfo function.])
1072 dnl Verify if fsetxattr is available, prototyped, and
1087 AC_MSG_CHECKING([if fsetxattr can be linked])
1098 if test "$tst_links_fsetxattr" = "yes"; then
1099 AC_MSG_CHECKING([if fsetxattr is prototyped])
1111 if test "$tst_proto_fsetxattr" = "yes"; then
1112 if test "$tst_nargs_fsetxattr" = "unknown"; then
1113 AC_MSG_CHECKING([if fsetxattr takes 5 args.])
1118 if(0 != fsetxattr(0, 0, 0, 0, 0))
1130 if test "$tst_nargs_fsetxattr" = "unknown"; then
1131 AC_MSG_CHECKING([if fsetxattr takes 6 args.])
1136 if(0 != fsetxattr(0, 0, 0, 0, 0, 0))
1148 AC_MSG_CHECKING([if fsetxattr is compilable])
1149 if test "$tst_compi_fsetxattr" = "yes"; then
1156 if test "$tst_compi_fsetxattr" = "yes"; then
1157 AC_MSG_CHECKING([if fsetxattr usage allowed])
1158 if test "x$curl_disallow_fsetxattr" != "xyes"; then
1167 AC_MSG_CHECKING([if fsetxattr might be used])
1168 if test "$tst_links_fsetxattr" = "yes" &&
1174 [Define to 1 if you have the fsetxattr function.])
1178 if test "$tst_nargs_fsetxattr" -eq "5"; then
1194 dnl Verify if ftruncate is available, prototyped, and
1208 AC_MSG_CHECKING([if ftruncate can be linked])
1219 if test "$tst_links_ftruncate" = "yes"; then
1220 AC_MSG_CHECKING([if ftruncate is prototyped])
1232 if test "$tst_proto_ftruncate" = "yes"; then
1233 AC_MSG_CHECKING([if ftruncate is compilable])
1238 if(0 != ftruncate(0, 0))
1250 if test "$tst_compi_ftruncate" = "yes"; then
1251 AC_MSG_CHECKING([if ftruncate usage allowed])
1252 if test "x$curl_disallow_ftruncate" != "xyes"; then
1261 AC_MSG_CHECKING([if ftruncate might be used])
1262 if test "$tst_links_ftruncate" = "yes" &&
1268 [Define to 1 if you have the ftruncate function.])
1279 dnl Verify if getaddrinfo is available, prototyped, can
1285 dnl to find out if getaddrinfo happens to be threadsafe,
1303 AC_MSG_CHECKING([if getaddrinfo can be linked])
1310 if(0 != getaddrinfo(0, 0, 0, 0))
1321 if test "$tst_links_getaddrinfo" = "yes"; then
1322 AC_MSG_CHECKING([if getaddrinfo is prototyped])
1336 if test "$tst_proto_getaddrinfo" = "yes"; then
1337 AC_MSG_CHECKING([if getaddrinfo is compilable])
1344 if(0 != getaddrinfo(0, 0, 0, 0))
1357 if test "x$cross_compiling" != "xyes" &&
1359 AC_MSG_CHECKING([if getaddrinfo seems to work])
1374 if(WSAStartup(MAKEWORD(2, 2), &wsa))
1383 if(error || !ai)
1397 if test "$tst_compi_getaddrinfo" = "yes" &&
1399 AC_MSG_CHECKING([if getaddrinfo usage allowed])
1400 if test "x$curl_disallow_getaddrinfo" != "xyes"; then
1409 AC_MSG_CHECKING([if getaddrinfo might be used])
1410 if test "$tst_links_getaddrinfo" = "yes" &&
1417 [Define to 1 if you have a working getaddrinfo function.])
1425 if test "$curl_cv_func_getaddrinfo" = "yes"; then
1426 AC_MSG_CHECKING([if getaddrinfo is threadsafe])
1482 if test "$tst_tsafe_getaddrinfo" = "unknown" &&
1486 if test "$tst_tsafe_getaddrinfo" = "unknown"; then
1490 if test "$tst_tsafe_getaddrinfo" = "yes"; then
1492 [Define to 1 if the getaddrinfo function is threadsafe.])
1503 dnl Verify if gethostbyname is available, prototyped,
1518 AC_MSG_CHECKING([if gethostbyname can be linked])
1525 if(0 != gethostbyname(0))
1536 if test "$tst_links_gethostbyname" = "yes"; then
1537 AC_MSG_CHECKING([if gethostbyname is prototyped])
1551 if test "$tst_proto_gethostbyname" = "yes"; then
1552 AC_MSG_CHECKING([if gethostbyname is compilable])
1559 if(0 != gethostbyname(0))
1571 if test "$tst_compi_gethostbyname" = "yes"; then
1572 AC_MSG_CHECKING([if gethostbyname usage allowed])
1573 if test "x$curl_disallow_gethostbyname" != "xyes"; then
1582 AC_MSG_CHECKING([if gethostbyname might be used])
1583 if test "$tst_links_gethostbyname" = "yes" &&
1589 [Define to 1 if you have the gethostbyname function.])
1600 dnl Verify if gethostbyname_r is available, prototyped,
1615 AC_MSG_CHECKING([if gethostbyname_r can be linked])
1626 if test "$tst_links_gethostbyname_r" = "yes"; then
1627 AC_MSG_CHECKING([if gethostbyname_r is prototyped])
1639 if test "$tst_proto_gethostbyname_r" = "yes"; then
1640 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
1641 AC_MSG_CHECKING([if gethostbyname_r takes 3 args.])
1647 if(0 != gethostbyname_r(0, 0, 0))
1659 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
1660 AC_MSG_CHECKING([if gethostbyname_r takes 5 args.])
1666 if(0 != gethostbyname_r(0, 0, 0, 0, 0))
1678 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
1679 AC_MSG_CHECKING([if gethostbyname_r takes 6 args.])
1685 if(0 != gethostbyname_r(0, 0, 0, 0, 0, 0))
1697 AC_MSG_CHECKING([if gethostbyname_r is compilable])
1698 if test "$tst_compi_gethostbyname_r" = "yes"; then
1705 if test "$tst_compi_gethostbyname_r" = "yes"; then
1706 AC_MSG_CHECKING([if gethostbyname_r usage allowed])
1707 if test "x$curl_disallow_gethostbyname_r" != "xyes"; then
1716 AC_MSG_CHECKING([if gethostbyname_r might be used])
1717 if test "$tst_links_gethostbyname_r" = "yes" &&
1723 [Define to 1 if you have the gethostbyname_r function.])
1727 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
1745 dnl Verify if gethostname is available, prototyped, and
1762 AC_MSG_CHECKING([if gethostname can be linked])
1769 if(0 != gethostname(0, 0))
1780 if test "$tst_links_gethostname" = "yes"; then
1781 AC_MSG_CHECKING([if gethostname is prototyped])
1795 if test "$tst_proto_gethostname" = "yes"; then
1796 AC_MSG_CHECKING([if gethostname is compilable])
1803 if(0 != gethostname(0, 0))
1815 if test "$tst_compi_gethostname" = "yes"; then
1820 if test "$tst_gethostname_type_arg2" = "unknown"; then
1829 if(0 != gethostname(0, 0))
1839 if test "$tst_gethostname_type_arg2" != "unknown"; then
1845 if test "$tst_compi_gethostname" = "yes"; then
1846 AC_MSG_CHECKING([if gethostname usage allowed])
1847 if test "x$curl_disallow_gethostname" != "xyes"; then
1856 AC_MSG_CHECKING([if gethostname might be used])
1857 if test "$tst_links_gethostname" = "yes" &&
1863 [Define to 1 if you have the gethostname function.])
1873 dnl Verify if getpeername is available, prototyped, and
1890 AC_MSG_CHECKING([if getpeername can be linked])
1897 if(0 != getpeername(0, (void *)0, (void *)0))
1908 if test "$tst_links_getpeername" = "yes"; then
1909 AC_MSG_CHECKING([if getpeername is prototyped])
1923 if test "$tst_proto_getpeername" = "yes"; then
1924 AC_MSG_CHECKING([if getpeername is compilable])
1931 if(0 != getpeername(0, (void *)0, (void *)0))
1943 if test "$tst_compi_getpeername" = "yes"; then
1944 AC_MSG_CHECKING([if getpeername usage allowed])
1945 if test "x$curl_disallow_getpeername" != "xyes"; then
1954 AC_MSG_CHECKING([if getpeername might be used])
1955 if test "$tst_links_getpeername" = "yes" &&
1961 [Define to 1 if you have the getpeername function.])
1971 dnl Verify if getsockname is available, prototyped, and
1988 AC_MSG_CHECKING([if getsockname can be linked])
1995 if(0 != getsockname(0, (void *)0, (void *)0))
2006 if test "$tst_links_getsockname" = "yes"; then
2007 AC_MSG_CHECKING([if getsockname is prototyped])
2021 if test "$tst_proto_getsockname" = "yes"; then
2022 AC_MSG_CHECKING([if getsockname is compilable])
2029 if(0 != getsockname(0, (void *)0, (void *)0))
2041 if test "$tst_compi_getsockname" = "yes"; then
2042 AC_MSG_CHECKING([if getsockname usage allowed])
2043 if test "x$curl_disallow_getsockname" != "xyes"; then
2052 AC_MSG_CHECKING([if getsockname might be used])
2053 if test "$tst_links_getsockname" = "yes" &&
2059 [Define to 1 if you have the getsockname function.])
2070 dnl Verify if getifaddrs is available, prototyped, can
2086 AC_MSG_CHECKING([if getifaddrs can be linked])
2097 if test "$tst_links_getifaddrs" = "yes"; then
2098 AC_MSG_CHECKING([if getifaddrs is prototyped])
2110 if test "$tst_proto_getifaddrs" = "yes"; then
2111 AC_MSG_CHECKING([if getifaddrs is compilable])
2116 if(0 != getifaddrs(0))
2129 if test "x$cross_compiling" != "xyes" &&
2131 AC_MSG_CHECKING([if getifaddrs seems to work])
2141 if(error || !ifa)
2155 if test "$tst_compi_getifaddrs" = "yes" &&
2157 AC_MSG_CHECKING([if getifaddrs usage allowed])
2158 if test "x$curl_disallow_getifaddrs" != "xyes"; then
2167 AC_MSG_CHECKING([if getifaddrs might be used])
2168 if test "$tst_links_getifaddrs" = "yes" &&
2175 [Define to 1 if you have a working getifaddrs function.])
2186 dnl Verify if gmtime_r is available, prototyped, can
2202 AC_MSG_CHECKING([if gmtime_r can be linked])
2213 if test "$tst_links_gmtime_r" = "yes"; then
2214 AC_MSG_CHECKING([if gmtime_r is prototyped])
2226 if test "$tst_proto_gmtime_r" = "yes"; then
2227 AC_MSG_CHECKING([if gmtime_r is compilable])
2232 if(0 != gmtime_r(0, 0))
2245 if test "x$cross_compiling" != "xyes" &&
2247 AC_MSG_CHECKING([if gmtime_r seems to work])
2257 if(gmt)
2271 if test "$tst_compi_gmtime_r" = "yes" &&
2273 AC_MSG_CHECKING([if gmtime_r usage allowed])
2274 if test "x$curl_disallow_gmtime_r" != "xyes"; then
2283 AC_MSG_CHECKING([if gmtime_r might be used])
2284 if test "$tst_links_gmtime_r" = "yes" &&
2291 [Define to 1 if you have a working gmtime_r function.])
2302 dnl Verify if inet_ntop is available, prototyped, can
2319 AC_MSG_CHECKING([if inet_ntop can be linked])
2330 if test "$tst_links_inet_ntop" = "yes"; then
2331 AC_MSG_CHECKING([if inet_ntop is prototyped])
2343 if test "$tst_proto_inet_ntop" = "yes"; then
2344 AC_MSG_CHECKING([if inet_ntop is compilable])
2349 if(0 != inet_ntop(0, 0, 0, 0))
2362 if test "x$cross_compiling" != "xyes" &&
2364 AC_MSG_CHECKING([if inet_ntop seems to work])
2386 if(!ipv4ptr)
2388 if(ipv4ptr != ipv4res)
2390 if(!ipv4ptr[0])
2392 if(memcmp(ipv4res, "192.168.100.1", 13) != 0)
2410 if(!ipv6ptr)
2412 if(ipv6ptr != ipv6res)
2414 if(!ipv6ptr[0])
2416 if(memcmp(ipv6res, "fe80::214:4fff:fe0b:76c8", 24) != 0)
2430 if test "$tst_compi_inet_ntop" = "yes" &&
2432 AC_MSG_CHECKING([if inet_ntop usage allowed])
2433 if test "x$curl_disallow_inet_ntop" != "xyes"; then
2442 AC_MSG_CHECKING([if inet_ntop might be used])
2443 if test "$tst_links_inet_ntop" = "yes" &&
2450 [Define to 1 if you have a IPv6 capable working inet_ntop function.])
2461 dnl Verify if inet_pton is available, prototyped, can
2478 AC_MSG_CHECKING([if inet_pton can be linked])
2489 if test "$tst_links_inet_pton" = "yes"; then
2490 AC_MSG_CHECKING([if inet_pton is prototyped])
2502 if test "$tst_proto_inet_pton" = "yes"; then
2503 AC_MSG_CHECKING([if inet_pton is compilable])
2508 if(0 != inet_pton(0, 0, 0))
2521 if test "x$cross_compiling" != "xyes" &&
2523 AC_MSG_CHECKING([if inet_pton seems to work])
2536 if(1 != inet_pton(AF_INET, ipv4src, ipv4a))
2539 if( (ipv4a[0] != 0xc0) ||
2547 if(1 != inet_pton(AF_INET6, ipv6src, ipv6a))
2550 if( (ipv6a[0] != 0xfe) ||
2563 if( (ipv6a[2] != 0x0) ||
2582 if test "$tst_compi_inet_pton" = "yes" &&
2584 AC_MSG_CHECKING([if inet_pton usage allowed])
2585 if test "x$curl_disallow_inet_pton" != "xyes"; then
2594 AC_MSG_CHECKING([if inet_pton might be used])
2595 if test "$tst_links_inet_pton" = "yes" &&
2602 [Define to 1 if you have a IPv6 capable working inet_pton function.])
2613 dnl Verify if ioctl is available, prototyped, and
2627 AC_MSG_CHECKING([if ioctl can be linked])
2638 if test "$tst_links_ioctl" = "yes"; then
2639 AC_MSG_CHECKING([if ioctl is prototyped])
2651 if test "$tst_proto_ioctl" = "yes"; then
2652 AC_MSG_CHECKING([if ioctl is compilable])
2657 if(0 != ioctl(0, 0, 0))
2669 if test "$tst_compi_ioctl" = "yes"; then
2670 AC_MSG_CHECKING([if ioctl usage allowed])
2671 if test "x$curl_disallow_ioctl" != "xyes"; then
2680 AC_MSG_CHECKING([if ioctl might be used])
2681 if test "$tst_links_ioctl" = "yes" &&
2687 [Define to 1 if you have the ioctl function.])
2700 dnl Verify if ioctl with the FIONBIO command is
2710 if test "$curl_cv_func_ioctl" = "yes"; then
2711 AC_MSG_CHECKING([if ioctl FIONBIO is compilable])
2717 if(0 != ioctl(0, FIONBIO, &flags))
2729 if test "$tst_compi_ioctl_fionbio" = "yes"; then
2730 AC_MSG_CHECKING([if ioctl FIONBIO usage allowed])
2731 if test "x$curl_disallow_ioctl_fionbio" != "xyes"; then
2740 AC_MSG_CHECKING([if ioctl FIONBIO might be used])
2741 if test "$tst_compi_ioctl_fionbio" = "yes" &&
2745 [Define to 1 if you have a working ioctl FIONBIO function.])
2756 dnl Verify if ioctl with the SIOCGIFADDR command is available,
2766 if test "$curl_cv_func_ioctl" = "yes"; then
2767 AC_MSG_CHECKING([if ioctl SIOCGIFADDR is compilable])
2771 #include <net/if.h>
2774 if(0 != ioctl(0, SIOCGIFADDR, &ifr))
2786 if test "$tst_compi_ioctl_siocgifaddr" = "yes"; then
2787 AC_MSG_CHECKING([if ioctl SIOCGIFADDR usage allowed])
2788 if test "x$curl_disallow_ioctl_siocgifaddr" != "xyes"; then
2797 AC_MSG_CHECKING([if ioctl SIOCGIFADDR might be used])
2798 if test "$tst_compi_ioctl_siocgifaddr" = "yes" &&
2802 [Define to 1 if you have a working ioctl SIOCGIFADDR function.])
2813 dnl Verify if ioctlsocket is available, prototyped, and
2827 AC_MSG_CHECKING([if ioctlsocket can be linked])
2832 if(0 != ioctlsocket(0, 0, 0))
2843 if test "$tst_links_ioctlsocket" = "yes"; then
2844 AC_MSG_CHECKING([if ioctlsocket is prototyped])
2856 if test "$tst_proto_ioctlsocket" = "yes"; then
2857 AC_MSG_CHECKING([if ioctlsocket is compilable])
2862 if(0 != ioctlsocket(0, 0, 0))
2874 if test "$tst_compi_ioctlsocket" = "yes"; then
2875 AC_MSG_CHECKING([if ioctlsocket usage allowed])
2876 if test "x$curl_disallow_ioctlsocket" != "xyes"; then
2885 AC_MSG_CHECKING([if ioctlsocket might be used])
2886 if test "$tst_links_ioctlsocket" = "yes" &&
2892 [Define to 1 if you have the ioctlsocket function.])
2904 dnl Verify if ioctlsocket with the FIONBIO command is
2914 if test "$curl_cv_func_ioctlsocket" = "yes"; then
2915 AC_MSG_CHECKING([if ioctlsocket FIONBIO is compilable])
2921 if(0 != ioctlsocket(0, FIONBIO, &flags))
2933 if test "$tst_compi_ioctlsocket_fionbio" = "yes"; then
2934 AC_MSG_CHECKING([if ioctlsocket FIONBIO usage allowed])
2935 if test "x$curl_disallow_ioctlsocket_fionbio" != "xyes"; then
2944 AC_MSG_CHECKING([if ioctlsocket FIONBIO might be used])
2945 if test "$tst_compi_ioctlsocket_fionbio" = "yes" &&
2949 [Define to 1 if you have a working ioctlsocket FIONBIO function.])
2960 dnl Verify if IoctlSocket is available, prototyped, and
2974 AC_MSG_CHECKING([if IoctlSocket can be linked])
2989 if test "$tst_links_ioctlsocket_camel" = "yes"; then
2990 AC_MSG_CHECKING([if IoctlSocket is prototyped])
3002 if test "$tst_proto_ioctlsocket_camel" = "yes"; then
3003 AC_MSG_CHECKING([if IoctlSocket is compilable])
3008 if(0 != IoctlSocket(0, 0, 0))
3020 if test "$tst_compi_ioctlsocket_camel" = "yes"; then
3021 AC_MSG_CHECKING([if IoctlSocket usage allowed])
3022 if test "x$curl_disallow_ioctlsocket_camel" != "xyes"; then
3031 AC_MSG_CHECKING([if IoctlSocket might be used])
3032 if test "$tst_links_ioctlsocket_camel" = "yes" &&
3038 [Define to 1 if you have the IoctlSocket camel case function.])
3050 dnl Verify if IoctlSocket with FIONBIO command is available,
3060 if test "$curl_cv_func_ioctlsocket_camel" = "yes"; then
3061 AC_MSG_CHECKING([if IoctlSocket FIONBIO is compilable])
3067 if(0 != IoctlSocket(0, FIONBIO, &flags))
3079 if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes"; then
3080 AC_MSG_CHECKING([if IoctlSocket FIONBIO usage allowed])
3081 if test "x$curl_disallow_ioctlsocket_camel_fionbio" != "xyes"; then
3090 AC_MSG_CHECKING([if IoctlSocket FIONBIO might be used])
3091 if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes" &&
3095 [Define to 1 if you have a working IoctlSocket camel case FIONBIO function.])
3106 dnl Verify if memrchr is available, prototyped, and
3121 AC_MSG_CHECKING([if memrchr can be linked])
3132 if test "$tst_links_memrchr" = "no"; then
3133 AC_MSG_CHECKING([if memrchr seems a macro])
3138 if(0 != memrchr(0, 0, 0))
3150 if test "$tst_links_memrchr" = "yes"; then
3151 AC_MSG_CHECKING([if memrchr is prototyped])
3163 if test "$tst_proto_memrchr" = "yes" ||
3165 AC_MSG_CHECKING([if memrchr is compilable])
3170 if(0 != memrchr(0, 0, 0))
3182 if test "$tst_compi_memrchr" = "yes"; then
3183 AC_MSG_CHECKING([if memrchr usage allowed])
3184 if test "x$curl_disallow_memrchr" != "xyes"; then
3193 AC_MSG_CHECKING([if memrchr might be used])
3194 if (test "$tst_proto_memrchr" = "yes" ||
3200 [Define to 1 if you have the memrchr function or macro.])
3211 dnl Verify if sigaction is available, prototyped, and
3225 AC_MSG_CHECKING([if sigaction can be linked])
3236 if test "$tst_links_sigaction" = "yes"; then
3237 AC_MSG_CHECKING([if sigaction is prototyped])
3249 if test "$tst_proto_sigaction" = "yes"; then
3250 AC_MSG_CHECKING([if sigaction is compilable])
3255 if(0 != sigaction(0, 0, 0))
3267 if test "$tst_compi_sigaction" = "yes"; then
3268 AC_MSG_CHECKING([if sigaction usage allowed])
3269 if test "x$curl_disallow_sigaction" != "xyes"; then
3278 AC_MSG_CHECKING([if sigaction might be used])
3279 if test "$tst_links_sigaction" = "yes" &&
3285 [Define to 1 if you have the sigaction function.])
3296 dnl Verify if siginterrupt is available, prototyped, and
3310 AC_MSG_CHECKING([if siginterrupt can be linked])
3321 if test "$tst_links_siginterrupt" = "yes"; then
3322 AC_MSG_CHECKING([if siginterrupt is prototyped])
3334 if test "$tst_proto_siginterrupt" = "yes"; then
3335 AC_MSG_CHECKING([if siginterrupt is compilable])
3340 if(0 != siginterrupt(0, 0))
3352 if test "$tst_compi_siginterrupt" = "yes"; then
3353 AC_MSG_CHECKING([if siginterrupt usage allowed])
3354 if test "x$curl_disallow_siginterrupt" != "xyes"; then
3363 AC_MSG_CHECKING([if siginterrupt might be used])
3364 if test "$tst_links_siginterrupt" = "yes" &&
3370 [Define to 1 if you have the siginterrupt function.])
3381 dnl Verify if signal is available, prototyped, and
3395 AC_MSG_CHECKING([if signal can be linked])
3406 if test "$tst_links_signal" = "yes"; then
3407 AC_MSG_CHECKING([if signal is prototyped])
3419 if test "$tst_proto_signal" = "yes"; then
3420 AC_MSG_CHECKING([if signal is compilable])
3425 if(0 != signal(0, 0))
3437 if test "$tst_compi_signal" = "yes"; then
3438 AC_MSG_CHECKING([if signal usage allowed])
3439 if test "x$curl_disallow_signal" != "xyes"; then
3448 AC_MSG_CHECKING([if signal might be used])
3449 if test "$tst_links_signal" = "yes" &&
3455 [Define to 1 if you have the signal function.])
3466 dnl Verify if sigsetjmp is available, prototyped, and
3481 AC_MSG_CHECKING([if sigsetjmp can be linked])
3492 if test "$tst_links_sigsetjmp" = "no"; then
3493 AC_MSG_CHECKING([if sigsetjmp seems a macro])
3499 if(0 != sigsetjmp(env, 0))
3511 if test "$tst_links_sigsetjmp" = "yes"; then
3512 AC_MSG_CHECKING([if sigsetjmp is prototyped])
3524 if test "$tst_proto_sigsetjmp" = "yes" ||
3526 AC_MSG_CHECKING([if sigsetjmp is compilable])
3532 if(0 != sigsetjmp(env, 0))
3544 if test "$tst_compi_sigsetjmp" = "yes"; then
3545 AC_MSG_CHECKING([if sigsetjmp usage allowed])
3546 if test "x$curl_disallow_sigsetjmp" != "xyes"; then
3555 AC_MSG_CHECKING([if sigsetjmp might be used])
3556 if (test "$tst_proto_sigsetjmp" = "yes" ||
3562 [Define to 1 if you have the sigsetjmp function or macro.])
3573 dnl Verify if socket is available, prototyped, and
3588 AC_MSG_CHECKING([if socket can be linked])
3595 if(0 != socket(0, 0, 0))
3606 if test "$tst_links_socket" = "yes"; then
3607 AC_MSG_CHECKING([if socket is prototyped])
3621 if test "$tst_proto_socket" = "yes"; then
3622 AC_MSG_CHECKING([if socket is compilable])
3629 if(0 != socket(0, 0, 0))
3641 if test "$tst_compi_socket" = "yes"; then
3642 AC_MSG_CHECKING([if socket usage allowed])
3643 if test "x$curl_disallow_socket" != "xyes"; then
3652 AC_MSG_CHECKING([if socket might be used])
3653 if test "$tst_links_socket" = "yes" &&
3659 [Define to 1 if you have the socket function.])
3670 dnl Verify if socketpair is available, prototyped, and
3684 AC_MSG_CHECKING([if socketpair can be linked])
3695 if test "$tst_links_socketpair" = "yes"; then
3696 AC_MSG_CHECKING([if socketpair is prototyped])
3708 if test "$tst_proto_socketpair" = "yes"; then
3709 AC_MSG_CHECKING([if socketpair is compilable])
3715 if(0 != socketpair(0, 0, 0, sv))
3727 if test "$tst_compi_socketpair" = "yes"; then
3728 AC_MSG_CHECKING([if socketpair usage allowed])
3729 if test "x$curl_disallow_socketpair" != "xyes"; then
3738 AC_MSG_CHECKING([if socketpair might be used])
3739 if test "$tst_links_socketpair" = "yes" &&
3745 [Define to 1 if you have the socketpair function.])
3756 dnl Verify if strcasecmp is available, prototyped, and
3770 AC_MSG_CHECKING([if strcasecmp can be linked])
3781 if test "$tst_links_strcasecmp" = "yes"; then
3782 AC_MSG_CHECKING([if strcasecmp is prototyped])
3794 if test "$tst_proto_strcasecmp" = "yes"; then
3795 AC_MSG_CHECKING([if strcasecmp is compilable])
3800 if(0 != strcasecmp(0, 0))
3812 if test "$tst_compi_strcasecmp" = "yes"; then
3813 AC_MSG_CHECKING([if strcasecmp usage allowed])
3814 if test "x$curl_disallow_strcasecmp" != "xyes"; then
3823 AC_MSG_CHECKING([if strcasecmp might be used])
3824 if test "$tst_links_strcasecmp" = "yes" &&
3830 [Define to 1 if you have the strcasecmp function.])
3840 dnl Verify if strcmpi is available, prototyped, and
3854 AC_MSG_CHECKING([if strcmpi can be linked])
3865 if test "$tst_links_strcmpi" = "yes"; then
3866 AC_MSG_CHECKING([if strcmpi is prototyped])
3878 if test "$tst_proto_strcmpi" = "yes"; then
3879 AC_MSG_CHECKING([if strcmpi is compilable])
3884 if(0 != strcmpi(0, 0))
3896 if test "$tst_compi_strcmpi" = "yes"; then
3897 AC_MSG_CHECKING([if strcmpi usage allowed])
3898 if test "x$curl_disallow_strcmpi" != "xyes"; then
3907 AC_MSG_CHECKING([if strcmpi might be used])
3908 if test "$tst_links_strcmpi" = "yes" &&
3914 [Define to 1 if you have the strcmpi function.])
3925 dnl Verify if strdup is available, prototyped, and
3939 AC_MSG_CHECKING([if strdup can be linked])
3950 if test "$tst_links_strdup" = "yes"; then
3951 AC_MSG_CHECKING([if strdup is prototyped])
3963 if test "$tst_proto_strdup" = "yes"; then
3964 AC_MSG_CHECKING([if strdup is compilable])
3969 if(0 != strdup(0))
3981 if test "$tst_compi_strdup" = "yes"; then
3982 AC_MSG_CHECKING([if strdup usage allowed])
3983 if test "x$curl_disallow_strdup" != "xyes"; then
3992 AC_MSG_CHECKING([if strdup might be used])
3993 if test "$tst_links_strdup" = "yes" &&
3999 [Define to 1 if you have the strdup function.])
4010 dnl Verify if strerror_r is available, prototyped, can be compiled and
4021 dnl and might use the provided workbuf as a scratch area if needed. A
4047 AC_MSG_CHECKING([if strerror_r can be linked])
4058 if test "$tst_links_strerror_r" = "yes"; then
4059 AC_MSG_CHECKING([if strerror_r is prototyped])
4071 if test "$tst_proto_strerror_r" = "yes"; then
4072 AC_MSG_CHECKING([if strerror_r is compilable])
4077 if(0 != strerror_r(0, 0, 0))
4089 if test "$tst_compi_strerror_r" = "yes"; then
4090 AC_MSG_CHECKING([if strerror_r is glibc like])
4093 if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then
4099 if(0 != strerror_r(0, 0, 0))
4120 if test "x$cross_compiling" != "xyes" &&
4122 AC_MSG_CHECKING([if strerror_r seems to work])
4133 if(!string)
4135 if(!string[0])
4149 if test "$tst_compi_strerror_r" = "yes" &&
4151 AC_MSG_CHECKING([if strerror_r is POSIX like])
4154 if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then
4160 if(0 != strerror_r(0, 0, 0))
4181 if test "x$cross_compiling" != "xyes" &&
4183 AC_MSG_CHECKING([if strerror_r seems to work])
4194 if(error)
4196 if(buffer[0] == '\0')
4210 if test "$tst_works_glibc_strerror_r" = "yes"; then
4213 if test "$tst_works_posix_strerror_r" = "yes"; then
4216 if test "$tst_glibc_strerror_r" = "yes" &&
4221 if test "$tst_posix_strerror_r" = "yes" &&
4226 if test "$tst_allow_strerror_r" = "check"; then
4227 AC_MSG_CHECKING([if strerror_r usage allowed])
4228 if test "x$curl_disallow_strerror_r" != "xyes"; then
4237 AC_MSG_CHECKING([if strerror_r might be used])
4238 if test "$tst_links_strerror_r" = "yes" &&
4243 if test "$tst_glibc_strerror_r" = "yes"; then
4245 [Define to 1 if you have the strerror_r function.])
4247 [Define to 1 if you have a working glibc-style strerror_r function.])
4249 if test "$tst_posix_strerror_r" = "yes"; then
4251 [Define to 1 if you have the strerror_r function.])
4253 [Define to 1 if you have a working POSIX-style strerror_r function.])
4261 if test "$tst_compi_strerror_r" = "yes" &&
4271 dnl Verify if stricmp is available, prototyped, and
4285 AC_MSG_CHECKING([if stricmp can be linked])
4296 if test "$tst_links_stricmp" = "yes"; then
4297 AC_MSG_CHECKING([if stricmp is prototyped])
4309 if test "$tst_proto_stricmp" = "yes"; then
4310 AC_MSG_CHECKING([if stricmp is compilable])
4315 if(0 != stricmp(0, 0))
4327 if test "$tst_compi_stricmp" = "yes"; then
4328 AC_MSG_CHECKING([if stricmp usage allowed])
4329 if test "x$curl_disallow_stricmp" != "xyes"; then
4338 AC_MSG_CHECKING([if stricmp might be used])
4339 if test "$tst_links_stricmp" = "yes" &&
4345 [Define to 1 if you have the stricmp function.])
4356 dnl Verify if strtok_r is available, prototyped, and
4370 AC_MSG_CHECKING([if strtok_r can be linked])
4381 if test "$tst_links_strtok_r" = "yes"; then
4382 AC_MSG_CHECKING([if strtok_r is prototyped])
4394 if test "$tst_proto_strtok_r" = "yes"; then
4395 AC_MSG_CHECKING([if strtok_r is compilable])
4400 if(0 != strtok_r(0, 0, 0))
4412 if test "$tst_compi_strtok_r" = "yes"; then
4413 AC_MSG_CHECKING([if strtok_r usage allowed])
4414 if test "x$curl_disallow_strtok_r" != "xyes"; then
4423 AC_MSG_CHECKING([if strtok_r might be used])
4424 if test "$tst_links_strtok_r" = "yes" &&
4430 [Define to 1 if you have the strtok_r function.])
4441 dnl Verify if strtoll is available, prototyped, and
4455 AC_MSG_CHECKING([if strtoll can be linked])
4466 if test "$tst_links_strtoll" = "yes"; then
4467 AC_MSG_CHECKING([if strtoll is prototyped])
4479 if test "$tst_proto_strtoll" = "yes"; then
4480 AC_MSG_CHECKING([if strtoll is compilable])
4485 if(0 != strtoll(0, 0, 0))
4497 if test "$tst_compi_strtoll" = "yes"; then
4498 AC_MSG_CHECKING([if strtoll usage allowed])
4499 if test "x$curl_disallow_strtoll" != "xyes"; then
4508 AC_MSG_CHECKING([if strtoll might be used])
4509 if test "$tst_links_strtoll" = "yes" &&
4515 [Define to 1 if you have the strtoll function.])
4560 dnl check if enabled by argument
4565 dnl if not gcc switch off again
4569 if test "x$coverage" = "xyes"; then
4573 if test -z "$GCOV"; then
4577 if test -z "$LCOV"; then
4589 dnl Check if _Atomic works. But only check if stdatomic.h exists.
4593 AC_MSG_CHECKING([if _Atomic is available])
4604 [Define to 1 if you have _Atomic support.])
4656 if test $r -gt 0; then
4660 if test $r -eq 0; then