Revision b0f36ee1 configure

View differences:

configure
2112 2112
            { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
2113 2113
        ;;
2114 2114
    mingw32*)
2115
        # Adding _WIN32_WINNT=0x0501 makes functions that require
2116
        # XP visible and thus may make it binary incompatible with
2117
        # earlier versions. Set --target-os=mingw32-prexp if this
2118
        # isn't desired.
2119
        test $target_os = "mingw32" && add_cflags -D_WIN32_WINNT=0x0501
2120 2115
        if test $target_os = "mingw32ce"; then
2121 2116
            disable network
2122 2117
        else
......
2576 2571
            network_extralibs="-lws2" || \
2577 2572
        { check_func_headers winsock2.h closesocket -lws2_32 && \
2578 2573
            network_extralibs="-lws2_32"; }
2579
        # getaddrinfo is available if _WIN32_WINNT >= 0x0501 is defined
2580
        check_func_headers ws2tcpip.h getaddrinfo $network_extralibs
2581 2574
        check_type ws2tcpip.h socklen_t
2582 2575
        check_type ws2tcpip.h "struct addrinfo"
2583 2576
        check_type ws2tcpip.h "struct ipv6_mreq"

Also available in: Unified diff