Overview
Comment: | configure: Use previous header checks for #ifdefs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c79e23f49ae644ad6137daa81f5cd6ce |
User & Date: | js on 2016-03-28 23:48:19 |
Other Links: | manifest | tags |
Context
2016-04-18
| ||
14:08 | Further clean up of the threading.m split check-in: 9babc44b91 user: js tags: trunk | |
2016-03-28
| ||
23:48 | configure: Use previous header checks for #ifdefs check-in: c79e23f49a user: js tags: trunk | |
23:43 | Style consistency changes check-in: 543eb96c02 user: js tags: trunk | |
Changes
Modified configure.ac from [b7c049a721] to [df8e023252].
︙ | ︙ | |||
924 925 926 927 928 929 930 931 932 | ]) AC_MSG_CHECKING(for getaddrinfo) AC_TRY_COMPILE([ #include <stddef.h> #ifndef _WIN32 # include <sys/types.h> # include <sys/socket.h> # include <netdb.h> | > > > > | > | 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 | ]) AC_MSG_CHECKING(for getaddrinfo) AC_TRY_COMPILE([ #include <stddef.h> #ifndef _WIN32 # include <sys/types.h> #endif #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif #ifdef HAVE_NETDB_H # include <netdb.h> #endif #ifdef _WIN32 typedef unsigned char BOOL; # include <ws2tcpip.h> #endif ], [ struct addrinfo ai; getaddrinfo(NULL, NULL, NULL, NULL); ], [ |
︙ | ︙ | |||
972 973 974 975 976 977 978 979 980 | esac AS_IF([test x"$have_threadsafe_getaddrinfo" = \ x"unknown"], [ AC_EGREP_CPP(yes, [ #ifndef _WIN32 # include <sys/types.h> # include <sys/socket.h> # include <netdb.h> | > > > > | > | 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 | esac AS_IF([test x"$have_threadsafe_getaddrinfo" = \ x"unknown"], [ AC_EGREP_CPP(yes, [ #ifndef _WIN32 # include <sys/types.h> #endif #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif #ifdef HAVE_NETDB_H # include <netdb.h> #endif #ifdef _WIN32 # define _WIN32_WINNT 0x0501 # include <windows.h> # include <ws2tcpip.h> #endif #ifdef h_errno yes |
︙ | ︙ |