Build of curl with vanilla toolchain

The build took 00h 01m 34s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
118,737 ansic
27,665 makefile
11,737 perl
5,903 sh
486 cpp
370 pascal
290 python
58 awk
165,246 total

The process tree of the build process is here.

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: curl 7.49.1-1 (Wed Aug 24 14:28:52 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking whether make supports nested variables... yes
# checking whether to enable debug build options... no
# checking whether to enable compiler optimizer... (assumed) yes
# checking whether to enable strict compiler warnings... no
# checking whether to enable compiler warnings as errors... no
# checking whether to enable curl debug memory tracking... no
# checking whether to enable hiding of library internal symbols... yes
# checking whether to enable c-ares for DNS lookups... no
# checking whether to disable dependency on -lrt... (assumed no)
# checking for path separator... :
# checking for sed... /usr/sbin/sed
# checking for grep... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for x86_64-unknown-linux-ar... no
# checking for ar... /usr/sbin/ar
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for x86_64-unknown-linux-gcc... no
# checking for gcc... gcc
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether gcc accepts -g... yes
# checking for gcc option to accept ISO C89... none needed
# checking whether gcc understands -c and -o together... yes
# checking how to run the C preprocessor... gcc -E
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for style of include used by make... GNU
# checking dependency style of gcc... gcc3
# checking curl version... 7.49.1
# checking build system type... x86_64-pc-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for sys/types.h... yes
# checking for stdint.h... yes
# checking for inttypes.h... yes
# checking for grep that handles long lines and -e... (cached) /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... (cached) yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... (cached) yes
# checking for stdint.h... (cached) yes
# checking for unistd.h... yes
# checking if cpp -P is needed... yes
# checking if cpp -P works... yes
# checking size of long... 8
# checking size of void*... 8
# checking for 64-bit curl_off_t data type... long
# checking size of curl_off_t... 8
# checking formatting string directive for curl_off_t... "ld"
# checking formatting string directive for unsigned curl_off_t... "lu"
# checking constant suffix string for curl_off_t... L
# checking constant suffix string for unsigned curl_off_t... UL
# checking if OS is AIX (to define _ALL_SOURCE)... no
# checking if _THREAD_SAFE is already defined... no
# checking if _THREAD_SAFE is actually needed... no
# checking if _THREAD_SAFE is onwards defined... no
# checking if _REENTRANT is already defined... no
# checking if _REENTRANT is actually needed... no
# checking if _REENTRANT is onwards defined... no
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# checking how to print strings... printf
# checking for a sed that does not truncate output... (cached) /usr/sbin/sed
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by gcc... /usr/sbin/ld
# checking if the linker (/usr/sbin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... no
# checking for x86_64-unknown-linux-dumpbin... no
# checking for x86_64-unknown-linux-link... no
# checking for dumpbin... no
# checking for link... link -dump
# checking the name lister (nm) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /usr/sbin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... /usr/sbin/ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse nm output from gcc object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking for dlfcn.h... yes
# checking for objdir... .libs
# checking if gcc supports -fno-rtti -fno-exceptions... no
# checking for gcc option to produce PIC... -fPIC -DPIC
# checking if gcc PIC flag -fPIC -DPIC works... yes
# checking if gcc static flag -static works... yes
# checking if gcc supports -c -o file.o... yes
# checking if gcc supports -c -o file.o... (cached) yes
# checking whether the gcc linker (/usr/sbin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking whether to build shared libraries with -version-info... yes
# checking whether to build shared libraries with -no-undefined... no
# checking whether to build shared libraries with -mimpure-text... no
# checking whether to build shared libraries with PIC... yes
# checking whether to build static libraries with PIC... yes
# checking whether to build shared libraries only... no
# checking whether to build static libraries only... no
# checking for inline... inline
# checking if compiler is DEC/Compaq/HP C... no
# checking if compiler is HP-UX C... no
# checking if compiler is IBM C... no
# checking if compiler is Intel C... no
# checking if compiler is clang... no
# checking if compiler is GNU C... yes
# checking if compiler is LCC... no
# checking if compiler is SGI MIPSpro C... no
# checking if compiler is SGI MIPS C... no
# checking if compiler is SunPro C... no
# checking if compiler is Tiny C... no
# checking if compiler is Watcom C... no
# checking if compiler accepts debug disabling options... yes
# configure: compiler options added:
# checking if compiler optimizer assumed setting might be used... yes
# checking if compiler accepts optimizer enabling options... yes
# configure: compiler options added: -O2
# checking if compiler accepts strict warning options... yes
# configure: compiler options added: -Wno-system-headers
# checking if compiler halts on compilation errors... yes
# checking if compiler halts on negative sized arrays... yes
# checking if compiler halts on function prototype mismatch... yes
# checking if compiler supports hiding library internal symbols... yes
# checking for windows.h... no
# checking whether build target is a native Windows one... no
# checking whether build target supports WIN32 file API... no
# checking whether to support http... yes
# checking whether to support ftp... yes
# checking whether to support file... yes
# checking whether to support ldap... no
# checking whether to support ldaps... no
# checking whether to support rtsp... yes
# checking whether to support proxies... yes
# checking whether to support dict... yes
# checking whether to support telnet... yes
# checking whether to support tftp... yes
# checking whether to support pop3... yes
# checking whether to support imap... yes
# checking whether to support smb... yes
# checking whether to support smtp... yes
# checking whether to support gopher... yes
# checking whether to provide built-in manual... yes
# checking whether to enable generation of C code... yes
# checking whether to use libgcc... no
# checking if X/Open network library is required... no
# checking for gethostbyname... yes
# checking for windows.h... (cached) no
# checking for winsock.h... (cached) no
# checking for winsock2.h... (cached) no
# checking for connect in libraries... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking for sys/types.h... (cached) yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking time.h usability... yes
# checking time.h presence... yes
# checking for time.h... yes
# checking for monotonic clock_gettime... yes
# checking for clock_gettime in libraries... no additional lib required
# checking if monotonic clock_gettime works... yes
# checking for inflateEnd in -lz... yes
# checking zlib.h usability... yes
# checking zlib.h presence... yes
# checking for zlib.h... yes
# configure: found both libz and libz.h header
# checking whether to enable IPv6... yes
# checking if struct sockaddr_in6 has sin6_scope_id member... yes
# checking if argv can be written to... yes
# checking if GSS-API support is requested... yes
# checking gss.h usability... no
# checking gss.h presence... no
# checking for gss.h... no
# checking gssapi/gssapi.h usability... yes
# checking gssapi/gssapi.h presence... yes
# checking for gssapi/gssapi.h... yes
# checking for gssapi/gssapi_generic.h... yes
# checking for gssapi/gssapi_krb5.h... yes
# checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... yes
# checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
# checking whether to enable iOS/Mac OS X native SSL/TLS... no
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# checking for openssl options with pkg-config... found
# configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
# configure: pkg-config: SSL_LDFLAGS: ""
# configure: pkg-config: SSL_CPPFLAGS: ""
# checking for HMAC_Update in -lcrypto... yes
# checking OpenSSL linking without -ldl... yes
# checking for SSL_connect in -lssl... yes
# checking openssl/x509.h usability... yes
# checking openssl/x509.h presence... yes
# checking for openssl/x509.h... yes
# checking openssl/rsa.h usability... yes
# checking openssl/rsa.h presence... yes
# checking for openssl/rsa.h... yes
# checking openssl/crypto.h usability... yes
# checking openssl/crypto.h presence... yes
# checking for openssl/crypto.h... yes
# checking openssl/pem.h usability... yes
# checking openssl/pem.h presence... yes
# checking for openssl/pem.h... yes
# checking openssl/ssl.h usability... yes
# checking openssl/ssl.h presence... yes
# checking for openssl/ssl.h... yes
# checking openssl/err.h usability... yes
# checking openssl/err.h presence... yes
# checking for openssl/err.h... yes
# checking openssl/pkcs12.h usability... yes
# checking openssl/pkcs12.h presence... yes
# checking for openssl/pkcs12.h... yes
# checking for ENGINE_init... yes
# checking openssl/engine.h usability... yes
# checking openssl/engine.h presence... yes
# checking for openssl/engine.h... yes
# checking for ENGINE_load_builtin_engines... yes
# checking for RAND_status... yes
# checking for RAND_screen... no
# checking for RAND_egd... yes
# checking for ENGINE_cleanup... yes
# checking for CRYPTO_cleanup_all_ex_data... yes
# checking for SSL_get_shutdown... yes
# checking for SSLv2_client_method... yes
# checking for BoringSSL... no
# checking for libressl... no
# checking for OpenSSL headers version... 1.0.2 - 0x1000208fL
# checking for OpenSSL library version... 1.0.2
# checking for OpenSSL headers and library versions matching... yes
# checking for SRP_Calc_client_key in -lcrypto... yes
# checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
# checking whether to use builtin CA store of SSL library... no
# checking for library containing psl_builtin... no
# configure: WARNING: libpsl was not found
# checking for libssh2_channel_open_ex in -lssh2... yes
# checking libssh2.h usability... yes
# checking libssh2.h presence... yes
# checking for libssh2.h... yes
# checking for RTMP_Init in -lrtmp... no
# checking whether versioned symbols are wanted... yes
# checking if libraries can be versioned... yes
# checking whether to enable Windows native IDN (Windows native builds only)... no
# checking whether to build with libidn... yes
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... (cached) /usr/sbin/pkg-config
# checking for libidn options with pkg-config... found
# configure: pkg-config: IDN_LIBS: "-lidn"
# configure: pkg-config: IDN_LDFLAGS: ""
# configure: pkg-config: IDN_CPPFLAGS: ""
# configure: pkg-config: IDN_DIR: ""
# checking if idna_to_ascii_4i can be linked... yes
# checking for idn_free... yes
# checking for idna_strerror... yes
# checking for tld_strerror... yes
# checking idn-free.h usability... yes
# checking idn-free.h presence... yes
# checking for idn-free.h... yes
# checking tld.h usability... yes
# checking tld.h presence... yes
# checking for tld.h... yes
# checking for x86_64-unknown-linux-pkg-config... /usr/sbin/pkg-config
# checking for libnghttp2 options with pkg-config... no
# checking for ANSI C header files... (cached) yes
# checking for malloc.h... yes
# checking for memory.h... yes
# checking for sys/types.h... (cached) yes
# checking for sys/time.h... (cached) yes
# checking for sys/select.h... yes
# checking for sys/socket.h... yes
# checking for sys/ioctl.h... yes
# checking for sys/uio.h... yes
# checking for assert.h... yes
# checking for unistd.h... (cached) yes
# checking for stdlib.h... (cached) yes
# checking for limits.h... yes
# checking for arpa/inet.h... yes
# checking for net/if.h... yes
# checking for netinet/in.h... yes
# checking for sys/un.h... yes
# checking for netinet/tcp.h... yes
# checking for netdb.h... yes
# checking for sys/sockio.h... no
# checking for sys/stat.h... (cached) yes
# checking for sys/param.h... yes
# checking for termios.h... yes
# checking for termio.h... yes
# checking for sgtty.h... yes
# checking for fcntl.h... yes
# checking for alloca.h... yes
# checking for time.h... (cached) yes
# checking for io.h... no
# checking for pwd.h... yes
# checking for utime.h... yes
# checking for sys/utime.h... no
# checking for sys/poll.h... yes
# checking for poll.h... yes
# checking for socket.h... no
# checking for sys/resource.h... yes
# checking for libgen.h... yes
# checking for locale.h... yes
# checking for errno.h... yes
# checking for stdbool.h... yes
# checking for arpa/tftp.h... yes
# checking for sys/filio.h... no
# checking for sys/wait.h... yes
# checking for setjmp.h... yes
# checking for an ANSI C-conforming const... yes
# checking for compiler support of C99 variadic macro style... yes
# checking for compiler support of old gcc variadic macro style... yes
# checking for size_t... yes
# checking whether time.h and sys/time.h may both be included... (cached) yes
# checking for sys/types.h... (cached) yes
# checking for sys/time.h... (cached) yes
# checking for time.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for struct timeval... yes
# checking run-time libs availability... fine
# checking size of size_t... 8
# checking size of long... (cached) 8
# checking size of int... 4
# checking size of short... 2
# checking size of time_t... 8
# checking size of off_t... 8
# checking for long long... yes
# checking if numberLL works... yes
# checking for ssize_t... yes
# checking for bool... yes
# checking for windows.h... (cached) no
# checking for winsock2.h... (cached) no
# checking for ws2tcpip.h... (cached) no
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for curl_socklen_t data type... socklen_t
# checking size of curl_socklen_t... 4
# checking for sys/types.h... (cached) yes
# checking for poll.h... (cached) yes
# checking for sys/poll.h... (cached) yes
# checking for in_addr_t... yes
# checking for struct sockaddr_storage... yes
# checking signal.h usability... yes
# checking signal.h presence... yes
# checking for signal.h... yes
# checking for sig_atomic_t... yes
# checking if sig_atomic_t is already defined as volatile... no
# checking return type of signal handlers... void
# checking for sys/select.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for select... yes
# checking types of args and return type for select... int,fd_set *,struct timeval *,int
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for recv... yes
# checking types of args and return type for recv... int,void *,size_t,int,ssize_t
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for send... yes
# checking types of args and return type for send... int,const void *,size_t,int,ssize_t
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for MSG_NOSIGNAL... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking if alarm can be linked... yes
# checking if alarm is prototyped... yes
# checking if alarm is compilable... yes
# checking if alarm usage allowed... yes
# checking if alarm might be used... yes
# checking for sys/types.h... (cached) yes
# checking for string.h... (cached) yes
# checking for strings.h... (cached) yes
# checking for sys/types.h... (cached) yes
# checking for libgen.h... (cached) yes
# checking if basename can be linked... yes
# checking if basename is prototyped... yes
# checking if basename is compilable... yes
# checking if basename usage allowed... yes
# checking if basename might be used... yes
# checking for sys/types.h... (cached) yes
# checking for socket.h... (cached) no
# checking if closesocket can be linked... no
# checking if closesocket might be used... no
# checking if CloseSocket can be linked... no
# checking if CloseSocket might be used... no
# checking if connect can be linked... yes
# checking if connect is prototyped... yes
# checking if connect is compilable... yes
# checking if connect usage allowed... yes
# checking if connect might be used... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking for fcntl.h... (cached) yes
# checking if fcntl can be linked... yes
# checking if fcntl is prototyped... yes
# checking if fcntl is compilable... yes
# checking if fcntl usage allowed... yes
# checking if fcntl might be used... yes
# checking if fcntl O_NONBLOCK is compilable... yes
# checking if fcntl O_NONBLOCK usage allowed... yes
# checking if fcntl O_NONBLOCK might be used... yes
# checking for sys/types.h... (cached) yes
# checking for stdio.h... yes
# checking if fdopen can be linked... yes
# checking if fdopen is prototyped... yes
# checking if fdopen is compilable... yes
# checking if fdopen usage allowed... yes
# checking if fdopen might be used... yes
# checking for sys/types.h... (cached) yes
# checking for netdb.h... (cached) yes
# checking if freeaddrinfo can be linked... yes
# checking if freeaddrinfo is prototyped... yes
# checking if freeaddrinfo is compilable... yes
# checking if freeaddrinfo usage allowed... yes
# checking if freeaddrinfo might be used... yes
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for netinet/in.h... (cached) yes
# checking for ifaddrs.h... yes
# checking if freeifaddrs can be linked... yes
# checking if freeifaddrs is prototyped... yes
# checking if freeifaddrs is compilable... yes
# checking if freeifaddrs usage allowed... yes
# checking if freeifaddrs might be used... yes
# checking for sys/types.h... (cached) yes
# checking for sys/xattr.h... yes
# checking if fsetxattr can be linked... yes
# checking if fsetxattr is prototyped... yes
# checking if fsetxattr takes 5 args.... yes
# checking if fsetxattr is compilable... yes
# checking if fsetxattr usage allowed... yes
# checking if fsetxattr might be used... yes
# checking if ftruncate can be linked... yes
# checking if ftruncate is prototyped... yes
# checking if ftruncate is compilable... yes
# checking if ftruncate usage allowed... yes
# checking if ftruncate might be used... yes
# checking for sys/types.h... (cached) yes
# checking for stdlib.h... (cached) yes
# checking if getaddrinfo can be linked... yes
# checking if getaddrinfo is prototyped... yes
# checking if getaddrinfo is compilable... yes
# checking if getaddrinfo seems to work... yes
# checking if getaddrinfo usage allowed... yes
# checking if getaddrinfo might be used... yes
# checking if getaddrinfo is threadsafe... yes
# checking if gai_strerror can be linked... yes
# checking if gai_strerror is prototyped... yes
# checking if gai_strerror is compilable... yes
# checking if gai_strerror usage allowed... yes
# checking if gai_strerror might be used... yes
# checking if gethostbyaddr can be linked... yes
# checking if gethostbyaddr is prototyped... yes
# checking if gethostbyaddr is compilable... yes
# checking if gethostbyaddr usage allowed... yes
# checking if gethostbyaddr might be used... yes
# checking if gethostbyaddr_r can be linked... yes
# checking if gethostbyaddr_r is prototyped... yes
# checking if gethostbyaddr_r takes 5 args.... no
# checking if gethostbyaddr_r takes 7 args.... no
# checking if gethostbyaddr_r takes 8 args.... yes
# checking if gethostbyaddr_r is compilable... yes
# checking if gethostbyaddr_r usage allowed... yes
# checking if gethostbyaddr_r might be used... yes
# checking if gethostbyname can be linked... yes
# checking if gethostbyname is prototyped... yes
# checking if gethostbyname is compilable... yes
# checking if gethostbyname usage allowed... yes
# checking if gethostbyname might be used... yes
# checking if gethostbyname_r can be linked... yes
# checking if gethostbyname_r is prototyped... yes
# checking if gethostbyname_r takes 3 args.... no
# checking if gethostbyname_r takes 5 args.... no
# checking if gethostbyname_r takes 6 args.... yes
# checking if gethostbyname_r is compilable... yes
# checking if gethostbyname_r usage allowed... yes
# checking if gethostbyname_r might be used... yes
# checking if gethostname can be linked... yes
# checking if gethostname is prototyped... yes
# checking if gethostname is compilable... yes
# checking for gethostname arg 2 data type... size_t
# checking if gethostname usage allowed... yes
# checking if gethostname might be used... yes
# checking if getifaddrs can be linked... yes
# checking if getifaddrs is prototyped... yes
# checking if getifaddrs is compilable... yes
# checking if getifaddrs seems to work... yes
# checking if getifaddrs usage allowed... yes
# checking if getifaddrs might be used... yes
# checking if getservbyport_r can be linked... yes
# checking if getservbyport_r is prototyped... yes
# checking if getservbyport_r takes 4 args.... no
# checking if getservbyport_r takes 5 args.... no
# checking if getservbyport_r takes 6 args.... yes
# checking if getservbyport_r is compilable... yes
# checking if getservbyport_r usage allowed... yes
# checking if getservbyport_r might be used... yes
# checking for sys/types.h... (cached) yes
# checking for sys/time.h... (cached) yes
# checking for time.h... (cached) yes
# checking if gmtime_r can be linked... yes
# checking if gmtime_r is prototyped... yes
# checking if gmtime_r is compilable... yes
# checking if gmtime_r seems to work... yes
# checking if gmtime_r usage allowed... yes
# checking if gmtime_r might be used... yes
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for netinet/in.h... (cached) yes
# checking for arpa/inet.h... (cached) yes
# checking if inet_ntoa_r can be linked... no
# checking if inet_ntoa_r might be used... no
# checking if inet_ntop can be linked... yes
# checking if inet_ntop is prototyped... yes
# checking if inet_ntop is compilable... yes
# checking if inet_ntop seems to work... yes
# checking if inet_ntop usage allowed... yes
# checking if inet_ntop might be used... yes
# checking if inet_pton can be linked... yes
# checking if inet_pton is prototyped... yes
# checking if inet_pton is compilable... yes
# checking if inet_pton seems to work... yes
# checking if inet_pton usage allowed... yes
# checking if inet_pton might be used... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for sys/ioctl.h... (cached) yes
# checking for stropts.h... yes
# checking if ioctl can be linked... yes
# checking if ioctl is prototyped... yes
# checking if ioctl is compilable... yes
# checking if ioctl usage allowed... yes
# checking if ioctl might be used... yes
# checking if ioctl FIONBIO is compilable... yes
# checking if ioctl FIONBIO usage allowed... yes
# checking if ioctl FIONBIO might be used... yes
# checking if ioctl SIOCGIFADDR is compilable... yes
# checking if ioctl SIOCGIFADDR usage allowed... yes
# checking if ioctl SIOCGIFADDR might be used... yes
# checking if ioctlsocket can be linked... no
# checking if ioctlsocket might be used... no
# checking if IoctlSocket can be linked... no
# checking if IoctlSocket might be used... no
# checking if localtime_r can be linked... yes
# checking if localtime_r is prototyped... yes
# checking if localtime_r is compilable... yes
# checking if localtime_r seems to work... yes
# checking if localtime_r usage allowed... yes
# checking if localtime_r might be used... yes
# checking if memrchr can be linked... yes
# checking if memrchr is prototyped... no
# checking if memrchr might be used... no
# checking if poll can be linked... yes
# checking if poll is prototyped... yes
# checking if poll is compilable... yes
# checking if poll seems to work... yes
# checking if poll usage allowed... yes
# checking if poll might be used... yes
# checking if setsockopt can be linked... yes
# checking if setsockopt is prototyped... yes
# checking if setsockopt is compilable... yes
# checking if setsockopt usage allowed... yes
# checking if setsockopt might be used... yes
# checking if setsockopt SO_NONBLOCK is compilable... no
# checking if setsockopt SO_NONBLOCK might be used... no
# checking for sys/types.h... (cached) yes
# checking for signal.h... (cached) yes
# checking if sigaction can be linked... yes
# checking if sigaction is prototyped... yes
# checking if sigaction is compilable... yes
# checking if sigaction usage allowed... yes
# checking if sigaction might be used... yes
# checking if siginterrupt can be linked... yes
# checking if siginterrupt is prototyped... yes
# checking if siginterrupt is compilable... yes
# checking if siginterrupt usage allowed... yes
# checking if siginterrupt might be used... yes
# checking if signal can be linked... yes
# checking if signal is prototyped... yes
# checking if signal is compilable... yes
# checking if signal usage allowed... yes
# checking if signal might be used... yes
# checking for sys/types.h... (cached) yes
# checking for setjmp.h... (cached) yes
# checking if sigsetjmp can be linked... no
# checking if sigsetjmp seems a macro... yes
# checking if sigsetjmp is compilable... yes
# checking if sigsetjmp usage allowed... yes
# checking if sigsetjmp might be used... yes
# checking if socket can be linked... yes
# checking if socket is prototyped... yes
# checking if socket is compilable... yes
# checking if socket usage allowed... yes
# checking if socket might be used... yes
# checking if socketpair can be linked... yes
# checking if socketpair is prototyped... yes
# checking if socketpair is compilable... yes
# checking if socketpair usage allowed... yes
# checking if socketpair might be used... yes
# checking if strcasecmp can be linked... yes
# checking if strcasecmp is prototyped... yes
# checking if strcasecmp is compilable... yes
# checking if strcasecmp usage allowed... yes
# checking if strcasecmp might be used... yes
# checking if strcmpi can be linked... no
# checking if strcmpi might be used... no
# checking if strdup can be linked... yes
# checking if strdup is prototyped... yes
# checking if strdup is compilable... yes
# checking if strdup usage allowed... yes
# checking if strdup might be used... yes
# checking if strerror_r can be linked... yes
# checking if strerror_r is prototyped... yes
# checking if strerror_r is compilable... yes
# checking if strerror_r is glibc like... no
# checking if strerror_r is POSIX like... yes
# checking if strerror_r seems to work... yes
# checking if strerror_r usage allowed... yes
# checking if strerror_r might be used... yes
# checking if stricmp can be linked... no
# checking if stricmp might be used... no
# checking if strncasecmp can be linked... yes
# checking if strncasecmp is prototyped... yes
# checking if strncasecmp is compilable... yes
# checking if strncasecmp usage allowed... yes
# checking if strncasecmp might be used... yes
# checking if strncmpi can be linked... no
# checking if strncmpi might be used... no
# checking if strnicmp can be linked... no
# checking if strnicmp might be used... no
# checking if strstr can be linked... yes
# checking if strstr is prototyped... yes
# checking if strstr is compilable... yes
# checking if strstr usage allowed... yes
# checking if strstr might be used... yes
# checking if strtok_r can be linked... yes
# checking if strtok_r is prototyped... yes
# checking if strtok_r is compilable... yes
# checking if strtok_r usage allowed... yes
# checking if strtok_r might be used... yes
# checking if strtoll can be linked... yes
# checking if strtoll is prototyped... yes
# checking if strtoll is compilable... yes
# checking if strtoll usage allowed... yes
# checking if strtoll might be used... yes
# checking for sys/types.h... (cached) yes
# checking for sys/uio.h... (cached) yes
# checking if writev can be linked... yes
# checking if writev is prototyped... yes
# checking if writev is compilable... yes
# checking if writev usage allowed... yes
# checking if writev might be used... yes
# checking for fork... yes
# checking for geteuid... yes
# checking for getpass_r... no
# checking deeper for getpass_r... but still no
# checking for getppid... yes
# checking for getprotobyname... yes
# checking for getpwuid... yes
# checking for getpwuid_r... yes
# checking for getrlimit... yes
# checking for gettimeofday... yes
# checking for if_nametoindex... yes
# checking for inet_addr... yes
# checking for perror... yes
# checking for pipe... yes
# checking for setlocale... yes
# checking for setmode... no
# checking deeper for setmode... but still no
# checking for setrlimit... yes
# checking for uname... yes
# checking for utime... yes
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for netdb.h... (cached) yes
# checking for getnameinfo... yes
# checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,socklen_t,int
# checking for stdio.h... (cached) yes
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for netdb.h... (cached) yes
# checking for netinet/in.h... (cached) yes
# checking for arpa/inet.h... (cached) yes
# checking for working NI_WITHSCOPEID... no
# checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
# checking for perl... /usr/sbin/perl
# checking for gnroff... no
# checking for nroff... /usr/sbin/nroff
# checking how to use *nroff to get plain text from man pages... -man
# checking whether to enable the threaded resolver... yes
# checking pthread.h usability... yes
# checking pthread.h presence... yes
# checking for pthread.h... yes
# checking for pthread_create... no
# checking for pthread_create in -lpthread... yes
# checking whether to enable verbose strings... yes
# checking whether to enable SSPI support (Windows native builds only)... no
# checking whether to enable cryptographic authentication methods... yes
# checking whether to enable NTLM delegation to winbind's helper... yes
# checking whether to enable TLS-SRP authentication... yes
# checking whether to enable Unix domain sockets... auto
# checking for struct sockaddr_un.sun_path... yes
# checking whether to enable support for cookies... yes
# checking whether hiding of library internal symbols will actually happen... yes
# checking whether to enforce SONAME bump... no
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating docs/Makefile
# config.status: creating docs/examples/Makefile
# config.status: creating docs/libcurl/Makefile
# config.status: creating docs/libcurl/opts/Makefile
# config.status: creating include/Makefile
# config.status: creating include/curl/Makefile
# config.status: creating src/Makefile
# config.status: creating lib/Makefile
# config.status: creating scripts/Makefile
# config.status: creating lib/libcurl.vers
# config.status: creating tests/Makefile
# config.status: creating tests/certs/Makefile
# config.status: creating tests/certs/scripts/Makefile
# config.status: creating tests/data/Makefile
# config.status: creating tests/server/Makefile
# config.status: creating tests/libtest/Makefile
# config.status: creating tests/unit/Makefile
# config.status: creating packages/Makefile
# config.status: creating packages/Win32/Makefile
# config.status: creating packages/Win32/cygwin/Makefile
# config.status: creating packages/Linux/Makefile
# config.status: creating packages/Linux/RPM/Makefile
# config.status: creating packages/Linux/RPM/curl.spec
# config.status: creating packages/Linux/RPM/curl-ssl.spec
# config.status: creating packages/Solaris/Makefile
# config.status: creating packages/EPM/curl.list
# config.status: creating packages/EPM/Makefile
# config.status: creating packages/vms/Makefile
# config.status: creating packages/AIX/Makefile
# config.status: creating packages/AIX/RPM/Makefile
# config.status: creating packages/AIX/RPM/curl.spec
# config.status: creating curl-config
# config.status: creating libcurl.pc
# config.status: creating lib/curl_config.h
# config.status: creating include/curl/curlbuild.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# configure: amending lib/Makefile
# configure: amending src/Makefile
# configure: amending tests/unit/Makefile
# configure: amending tests/server/Makefile
# configure: amending tests/libtest/Makefile
# configure: amending docs/examples/Makefile
# configure: Configured to build curl/libcurl:
#
# curl version: 7.49.1
# Host setup: x86_64-unknown-linux-gnu
# Install prefix: /usr
# Compiler: gcc
# SSL support: enabled (OpenSSL)
# SSH support: enabled (libSSH2)
# zlib support: enabled
# GSS-API support: enabled (MIT Kerberos/Heimdal)
# TLS-SRP support: enabled
# resolver: POSIX threaded
# IPv6 support: enabled
# Unix sockets support: enabled
# IDN support: enabled
# Build libcurl: Shared=yes, Static=yes
# Built-in manual: enabled
# --libcurl option: enabled (--disable-libcurl-option)
# Verbose errors: enabled (--disable-verbose)
# SSPI support: no (--enable-sspi)
# ca cert bundle: /etc/ssl/certs/ca-certificates.crt
# ca cert path: no
# ca fallback: no
# LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
# LDAPS support: no (--enable-ldaps)
# RTSP support: enabled
# RTMP support: no (--with-librtmp)
# metalink support: no (--with-libmetalink)
# PSL support: no (libpsl not found)
# HTTP2 support: disabled (--with-nghttp2)
# Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP
#
# Making all in lib
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1/lib'
# make all-am
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/lib'
# CC libcurl_la-file.lo
# CC libcurl_la-timeval.lo
# CC libcurl_la-base64.lo
# CC libcurl_la-hostip.lo
# CC libcurl_la-progress.lo
# CC libcurl_la-formdata.lo
# CC libcurl_la-cookie.lo
# CC libcurl_la-http.lo
# CC libcurl_la-sendf.lo
# CC libcurl_la-ftp.lo
# CC libcurl_la-url.lo
# CC libcurl_la-dict.lo
# CC libcurl_la-if2ip.lo
# CC libcurl_la-speedcheck.lo
# CC libcurl_la-ldap.lo
# CC libcurl_la-version.lo
# CC libcurl_la-getenv.lo
# CC libcurl_la-escape.lo
# CC libcurl_la-mprintf.lo
# CC libcurl_la-telnet.lo
# CC libcurl_la-netrc.lo
# CC libcurl_la-getinfo.lo
# CC libcurl_la-transfer.lo
# CC libcurl_la-strequal.lo
# CC libcurl_la-easy.lo
# CC libcurl_la-security.lo
# CC libcurl_la-curl_fnmatch.lo
# CC libcurl_la-fileinfo.lo
# CC libcurl_la-ftplistparser.lo
# CC libcurl_la-wildcard.lo
# CC libcurl_la-krb5.lo
# CC libcurl_la-memdebug.lo
# CC libcurl_la-http_chunks.lo
# CC libcurl_la-strtok.lo
# CC libcurl_la-connect.lo
# CC libcurl_la-llist.lo
# CC libcurl_la-hash.lo
# CC libcurl_la-multi.lo
# CC libcurl_la-content_encoding.lo
# CC libcurl_la-share.lo
# CC libcurl_la-http_digest.lo
# CC libcurl_la-md4.lo
# CC libcurl_la-md5.lo
# CC libcurl_la-http_negotiate.lo
# CC libcurl_la-inet_pton.lo
# CC libcurl_la-strtoofft.lo
# CC libcurl_la-strerror.lo
# CC libcurl_la-amigaos.lo
# CC libcurl_la-hostasyn.lo
# CC libcurl_la-hostip4.lo
# CC libcurl_la-hostip6.lo
# CC libcurl_la-hostsyn.lo
# CC libcurl_la-inet_ntop.lo
# CC libcurl_la-parsedate.lo
# CC libcurl_la-select.lo
# CC libcurl_la-tftp.lo
# CC libcurl_la-splay.lo
# CC libcurl_la-strdup.lo
# CC libcurl_la-socks.lo
# CC libcurl_la-ssh.lo
# CC libcurl_la-rawstr.lo
# CC libcurl_la-curl_addrinfo.lo
# CC libcurl_la-socks_gssapi.lo
# CC libcurl_la-socks_sspi.lo
# CC libcurl_la-curl_sspi.lo
# CC libcurl_la-slist.lo
# CC libcurl_la-nonblock.lo
# CC libcurl_la-curl_memrchr.lo
# CC libcurl_la-imap.lo
# CC libcurl_la-pop3.lo
# CC libcurl_la-smtp.lo
# CC libcurl_la-pingpong.lo
# CC libcurl_la-rtsp.lo
# CC libcurl_la-curl_threads.lo
# CC libcurl_la-warnless.lo
# CC libcurl_la-hmac.lo
# CC libcurl_la-curl_rtmp.lo
# CC libcurl_la-openldap.lo
# CC libcurl_la-curl_gethostname.lo
# CC libcurl_la-gopher.lo
# CC libcurl_la-idn_win32.lo
# CC libcurl_la-http_proxy.lo
# CC libcurl_la-non-ascii.lo
# CC libcurl_la-asyn-ares.lo
# CC libcurl_la-asyn-thread.lo
# CC libcurl_la-curl_gssapi.lo
# CC libcurl_la-http_ntlm.lo
# CC libcurl_la-curl_ntlm_wb.lo
# CC libcurl_la-curl_ntlm_core.lo
# CC libcurl_la-curl_sasl.lo
# CC libcurl_la-curl_multibyte.lo
# CC libcurl_la-hostcheck.lo
# CC libcurl_la-conncache.lo
# CC libcurl_la-pipeline.lo
# CC libcurl_la-dotdot.lo
# CC libcurl_la-x509asn1.lo
# CC libcurl_la-http2.lo
# CC libcurl_la-smb.lo
# CC libcurl_la-curl_endian.lo
# CC libcurl_la-curl_des.lo
# CC libcurl_la-system_win32.lo
# CC vauth/libcurl_la-vauth.lo
# CC vauth/libcurl_la-cleartext.lo
# CC vauth/libcurl_la-cram.lo
# CC vauth/libcurl_la-digest.lo
# CC vauth/libcurl_la-digest_sspi.lo
# CC vauth/libcurl_la-krb5_gssapi.lo
# CC vauth/libcurl_la-krb5_sspi.lo
# CC vauth/libcurl_la-ntlm.lo
# CC vauth/libcurl_la-ntlm_sspi.lo
# CC vauth/libcurl_la-oauth2.lo
# CC vauth/libcurl_la-spnego_gssapi.lo
# CC vauth/libcurl_la-spnego_sspi.lo
# CC vtls/libcurl_la-openssl.lo
# CC vtls/libcurl_la-gtls.lo
# CC vtls/libcurl_la-vtls.lo
# CC vtls/libcurl_la-nss.lo
# CC vtls/libcurl_la-polarssl.lo
# CC vtls/libcurl_la-polarssl_threadlock.lo
# CC vtls/libcurl_la-axtls.lo
# CC vtls/libcurl_la-cyassl.lo
# CC vtls/libcurl_la-schannel.lo
# CC vtls/libcurl_la-darwinssl.lo
# CC vtls/libcurl_la-gskit.lo
# CC vtls/libcurl_la-mbedtls.lo
# CCLD libcurl.la
# /usr/sbin/ar: `u' modifier ignored since `D' is the default (see `U')
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/lib'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1/lib'
# Making all in src
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1/src'
# make all-am
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/src'
# CC curl-slist_wc.o
# CC curl-tool_binmode.o
# CC curl-tool_bname.o
# CC curl-tool_cb_dbg.o
# CC curl-tool_cb_hdr.o
# CC curl-tool_cb_prg.o
# CC curl-tool_cb_rea.o
# CC curl-tool_cb_see.o
# CC curl-tool_cb_wrt.o
# CC curl-tool_cfgable.o
# CC curl-tool_convert.o
# CC curl-tool_dirhie.o
# CC curl-tool_doswin.o
# CC curl-tool_easysrc.o
# CC curl-tool_formparse.o
# CC curl-tool_getparam.o
# CC curl-tool_getpass.o
# CC curl-tool_help.o
# CC curl-tool_helpers.o
# CC curl-tool_homedir.o
# CC curl-tool_hugehelp.o
# CC curl-tool_libinfo.o
# CC curl-tool_main.o
# CC curl-tool_metalink.o
# CC curl-tool_mfiles.o
# CC curl-tool_msgs.o
# CC curl-tool_operate.o
# CC curl-tool_operhlp.o
# CC curl-tool_panykey.o
# CC curl-tool_paramhlp.o
# CC curl-tool_parsecfg.o
# CC curl-tool_strdup.o
# CC curl-tool_setopt.o
# CC curl-tool_sleep.o
# CC curl-tool_urlglob.o
# CC curl-tool_util.o
# CC curl-tool_vms.o
# CC curl-tool_writeenv.o
# CC curl-tool_writeout.o
# CC curl-tool_xattr.o
# CC ../lib/curl-strtoofft.o
# CC ../lib/curl-rawstr.o
# CC ../lib/curl-nonblock.o
# CC ../lib/curl-warnless.o
# CCLD curl
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/src'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1/src'
# Making all in include
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# Making all in curl
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make all-am
# make[3]: Entering directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[3]: Leaving directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# make[2]: Nothing to be done for 'all-am'.
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1'
# make[1]: Nothing to be done for 'all-am'.
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Making install in lib
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1/lib'
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/lib'
# make[2]: Nothing to be done for 'install-data-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/lib'
# /bin/sh ../libtool --mode=install /usr/bin/install -c libcurl.la '/tmp/curl/pkg/curl/usr/lib'
# libtool: install: /usr/bin/install -c .libs/libcurl.so.4.4.0 /tmp/curl/pkg/curl/usr/lib/libcurl.so.4.4.0
# libtool: install: (cd /tmp/curl/pkg/curl/usr/lib && { ln -s -f libcurl.so.4.4.0 libcurl.so.4 || { rm -f libcurl.so.4 && ln -s libcurl.so.4.4.0 libcurl.so.4; }; })
# libtool: install: (cd /tmp/curl/pkg/curl/usr/lib && { ln -s -f libcurl.so.4.4.0 libcurl.so || { rm -f libcurl.so && ln -s libcurl.so.4.4.0 libcurl.so; }; })
# libtool: install: /usr/bin/install -c .libs/libcurl.lai /tmp/curl/pkg/curl/usr/lib/libcurl.la
# libtool: install: /usr/bin/install -c .libs/libcurl.a /tmp/curl/pkg/curl/usr/lib/libcurl.a
# libtool: install: chmod 644 /tmp/curl/pkg/curl/usr/lib/libcurl.a
# libtool: install: ranlib /tmp/curl/pkg/curl/usr/lib/libcurl.a
# libtool: warning: remember to run 'libtool --finish /usr/lib'
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/lib'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1/lib'
# Making install in src
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1/src'
# make install-am
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/src'
# make[3]: Entering directory '/tmp/curl/src/curl-7.49.1/src'
# make[3]: Nothing to be done for 'install-data-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/bin'
# /bin/sh ../libtool --mode=install /usr/bin/install -c curl '/tmp/curl/pkg/curl/usr/bin'
# libtool: warning: '../lib/libcurl.la' has not been installed in '/usr/lib'
# libtool: install: /usr/bin/install -c .libs/curl /tmp/curl/pkg/curl/usr/bin/curl
# make[3]: Leaving directory '/tmp/curl/src/curl-7.49.1/src'
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/src'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1/src'
# Making install in include
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# Making install in curl
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[3]: Entering directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[3]: Nothing to be done for 'install-exec-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/include/curl'
# /usr/bin/install -c -m 644 curl.h curlver.h easy.h mprintf.h stdcheaders.h multi.h typecheck-gcc.h curlbuild.h curlrules.h '/tmp/curl/pkg/curl/usr/include/curl'
# make[3]: Leaving directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# make[3]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# make[3]: Nothing to be done for 'install-exec-am'.
# make[3]: Nothing to be done for 'install-data-am'.
# make[3]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[1]: Entering directory '/tmp/curl/src/curl-7.49.1'
# make[2]: Entering directory '/tmp/curl/src/curl-7.49.1'
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/bin'
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/lib/pkgconfig'
# /usr/bin/install -c -m 644 libcurl.pc '/tmp/curl/pkg/curl/usr/lib/pkgconfig'
# /usr/bin/install -c curl-config '/tmp/curl/pkg/curl/usr/bin'
# make install-data-hook
# make[3]: Entering directory '/tmp/curl/src/curl-7.49.1'
# cd include && make install
# make[4]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# Making install in curl
# make[5]: Entering directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[6]: Entering directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[6]: Nothing to be done for 'install-exec-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/include/curl'
# /usr/bin/install -c -m 644 curl.h curlver.h easy.h mprintf.h stdcheaders.h multi.h typecheck-gcc.h curlbuild.h curlrules.h '/tmp/curl/pkg/curl/usr/include/curl'
# make[6]: Leaving directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[5]: Leaving directory '/tmp/curl/src/curl-7.49.1/include/curl'
# make[5]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# make[6]: Entering directory '/tmp/curl/src/curl-7.49.1/include'
# make[6]: Nothing to be done for 'install-exec-am'.
# make[6]: Nothing to be done for 'install-data-am'.
# make[6]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[5]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# make[4]: Leaving directory '/tmp/curl/src/curl-7.49.1/include'
# cd docs && make install
# make[4]: Entering directory '/tmp/curl/src/curl-7.49.1/docs'
# Making install in examples
# make[5]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/examples'
# make[6]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/examples'
# make[6]: Nothing to be done for 'install-exec-am'.
# make[6]: Nothing to be done for 'install-data-am'.
# make[6]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/examples'
# make[5]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/examples'
# Making install in libcurl
# make[5]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/libcurl'
# Making install in opts
# make[6]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/libcurl/opts'
# make[7]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/libcurl/opts'
# make[7]: Nothing to be done for 'install-exec-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLINFO_ACTIVESOCKET.3 CURLINFO_APPCONNECT_TIME.3 CURLINFO_CERTINFO.3 CURLINFO_CONDITION_UNMET.3 CURLINFO_CONNECT_TIME.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD.3 CURLINFO_CONTENT_LENGTH_UPLOAD.3 CURLINFO_CONTENT_TYPE.3 CURLINFO_COOKIELIST.3 CURLINFO_EFFECTIVE_URL.3 CURLINFO_FILETIME.3 CURLINFO_FTP_ENTRY_PATH.3 CURLINFO_HEADER_SIZE.3 CURLINFO_HTTPAUTH_AVAIL.3 CURLINFO_HTTP_CONNECTCODE.3 CURLINFO_LASTSOCKET.3 CURLINFO_LOCAL_IP.3 CURLINFO_LOCAL_PORT.3 CURLINFO_NAMELOOKUP_TIME.3 CURLINFO_NUM_CONNECTS.3 CURLINFO_OS_ERRNO.3 CURLINFO_PRETRANSFER_TIME.3 CURLINFO_PRIMARY_IP.3 CURLINFO_PRIMARY_PORT.3 CURLINFO_PRIVATE.3 CURLINFO_PROXYAUTH_AVAIL.3 CURLINFO_REDIRECT_COUNT.3 CURLINFO_REDIRECT_TIME.3 CURLINFO_REDIRECT_URL.3 CURLINFO_REQUEST_SIZE.3 CURLINFO_RESPONSE_CODE.3 CURLINFO_RTSP_CLIENT_CSEQ.3 CURLINFO_RTSP_CSEQ_RECV.3 CURLINFO_RTSP_SERVER_CSEQ.3 CURLINFO_RTSP_SESSION_ID.3 CURLINFO_SIZE_DOWNLOAD.3 CURLINFO_SIZE_UPLOAD.3 CURLINFO_SPEED_DOWNLOAD.3 CURLINFO_SPEED_UPLOAD.3 CURLINFO_SSL_ENGINES.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLINFO_SSL_VERIFYRESULT.3 CURLINFO_STARTTRANSFER_TIME.3 CURLINFO_TLS_SESSION.3 CURLINFO_TLS_SSL_PTR.3 CURLINFO_TOTAL_TIME.3 CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.3 CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.3 CURLMOPT_MAXCONNECTS.3 CURLMOPT_MAX_HOST_CONNECTIONS.3 CURLMOPT_MAX_PIPELINE_LENGTH.3 CURLMOPT_MAX_TOTAL_CONNECTIONS.3 CURLMOPT_PIPELINING.3 CURLMOPT_PIPELINING_SERVER_BL.3 CURLMOPT_PIPELINING_SITE_BL.3 CURLMOPT_PUSHDATA.3 CURLMOPT_PUSHFUNCTION.3 CURLMOPT_SOCKETDATA.3 CURLMOPT_SOCKETFUNCTION.3 CURLMOPT_TIMERDATA.3 CURLMOPT_TIMERFUNCTION.3 CURLOPT_ACCEPTTIMEOUT_MS.3 CURLOPT_ACCEPT_ENCODING.3 CURLOPT_ADDRESS_SCOPE.3 CURLOPT_APPEND.3 CURLOPT_AUTOREFERER.3 CURLOPT_BUFFERSIZE.3 CURLOPT_CAINFO.3 CURLOPT_CAPATH.3 CURLOPT_CERTINFO.3 CURLOPT_CHUNK_BGN_FUNCTION.3 CURLOPT_CHUNK_DATA.3 CURLOPT_CHUNK_END_FUNCTION.3 CURLOPT_CLOSESOCKETDATA.3 CURLOPT_CLOSESOCKETFUNCTION.3 CURLOPT_CONNECTTIMEOUT.3 CURLOPT_CONNECTTIMEOUT_MS.3 CURLOPT_CONNECT_ONLY.3 CURLOPT_CONNECT_TO.3 CURLOPT_CONV_FROM_NETWORK_FUNCTION.3 CURLOPT_CONV_FROM_UTF8_FUNCTION.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLOPT_CONV_TO_NETWORK_FUNCTION.3 CURLOPT_COOKIE.3 CURLOPT_COOKIEFILE.3 CURLOPT_COOKIEJAR.3 CURLOPT_COOKIELIST.3 CURLOPT_COOKIESESSION.3 CURLOPT_COPYPOSTFIELDS.3 CURLOPT_CRLF.3 CURLOPT_CRLFILE.3 CURLOPT_CUSTOMREQUEST.3 CURLOPT_DEBUGDATA.3 CURLOPT_DEBUGFUNCTION.3 CURLOPT_DEFAULT_PROTOCOL.3 CURLOPT_DIRLISTONLY.3 CURLOPT_DNS_CACHE_TIMEOUT.3 CURLOPT_DNS_INTERFACE.3 CURLOPT_DNS_LOCAL_IP4.3 CURLOPT_DNS_LOCAL_IP6.3 CURLOPT_DNS_SERVERS.3 CURLOPT_DNS_USE_GLOBAL_CACHE.3 CURLOPT_EGDSOCKET.3 CURLOPT_ERRORBUFFER.3 CURLOPT_EXPECT_100_TIMEOUT_MS.3 CURLOPT_FAILONERROR.3 CURLOPT_FILETIME.3 CURLOPT_FNMATCH_DATA.3 CURLOPT_FNMATCH_FUNCTION.3 CURLOPT_FOLLOWLOCATION.3 CURLOPT_FORBID_REUSE.3 CURLOPT_FRESH_CONNECT.3 CURLOPT_FTPPORT.3 CURLOPT_FTPSSLAUTH.3 CURLOPT_FTP_ACCOUNT.3 CURLOPT_FTP_ALTERNATIVE_TO_USER.3 CURLOPT_FTP_CREATE_MISSING_DIRS.3 CURLOPT_FTP_FILEMETHOD.3 CURLOPT_FTP_RESPONSE_TIMEOUT.3 CURLOPT_FTP_SKIP_PASV_IP.3 CURLOPT_FTP_SSL_CCC.3 CURLOPT_FTP_USE_EPRT.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLOPT_FTP_USE_EPSV.3 CURLOPT_FTP_USE_PRET.3 CURLOPT_GSSAPI_DELEGATION.3 CURLOPT_HEADER.3 CURLOPT_HEADERDATA.3 CURLOPT_HEADERFUNCTION.3 CURLOPT_HEADEROPT.3 CURLOPT_HTTP200ALIASES.3 CURLOPT_HTTPAUTH.3 CURLOPT_HTTPGET.3 CURLOPT_HTTPHEADER.3 CURLOPT_HTTPPOST.3 CURLOPT_HTTPPROXYTUNNEL.3 CURLOPT_HTTP_CONTENT_DECODING.3 CURLOPT_HTTP_TRANSFER_DECODING.3 CURLOPT_HTTP_VERSION.3 CURLOPT_IGNORE_CONTENT_LENGTH.3 CURLOPT_INFILESIZE.3 CURLOPT_INFILESIZE_LARGE.3 CURLOPT_INTERFACE.3 CURLOPT_INTERLEAVEDATA.3 CURLOPT_INTERLEAVEFUNCTION.3 CURLOPT_IOCTLDATA.3 CURLOPT_IOCTLFUNCTION.3 CURLOPT_IPRESOLVE.3 CURLOPT_ISSUERCERT.3 CURLOPT_KEYPASSWD.3 CURLOPT_KRBLEVEL.3 CURLOPT_LOCALPORT.3 CURLOPT_LOCALPORTRANGE.3 CURLOPT_LOGIN_OPTIONS.3 CURLOPT_LOW_SPEED_LIMIT.3 CURLOPT_LOW_SPEED_TIME.3 CURLOPT_MAIL_AUTH.3 CURLOPT_MAIL_FROM.3 CURLOPT_MAIL_RCPT.3 CURLOPT_MAXCONNECTS.3 CURLOPT_MAXFILESIZE.3 CURLOPT_MAXFILESIZE_LARGE.3 CURLOPT_MAXREDIRS.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLOPT_MAX_RECV_SPEED_LARGE.3 CURLOPT_MAX_SEND_SPEED_LARGE.3 CURLOPT_NETRC.3 CURLOPT_NETRC_FILE.3 CURLOPT_NEW_DIRECTORY_PERMS.3 CURLOPT_NEW_FILE_PERMS.3 CURLOPT_NOBODY.3 CURLOPT_NOPROGRESS.3 CURLOPT_NOPROXY.3 CURLOPT_NOSIGNAL.3 CURLOPT_OPENSOCKETDATA.3 CURLOPT_OPENSOCKETFUNCTION.3 CURLOPT_PASSWORD.3 CURLOPT_PATH_AS_IS.3 CURLOPT_PINNEDPUBLICKEY.3 CURLOPT_PIPEWAIT.3 CURLOPT_PORT.3 CURLOPT_POST.3 CURLOPT_POSTFIELDS.3 CURLOPT_POSTFIELDSIZE.3 CURLOPT_POSTFIELDSIZE_LARGE.3 CURLOPT_POSTQUOTE.3 CURLOPT_POSTREDIR.3 CURLOPT_PREQUOTE.3 CURLOPT_PRIVATE.3 CURLOPT_PROGRESSDATA.3 CURLOPT_PROGRESSFUNCTION.3 CURLOPT_PROTOCOLS.3 CURLOPT_PROXY.3 CURLOPT_PROXYAUTH.3 CURLOPT_PROXYHEADER.3 CURLOPT_PROXYPASSWORD.3 CURLOPT_PROXYPORT.3 CURLOPT_PROXYTYPE.3 CURLOPT_PROXYUSERNAME.3 CURLOPT_PROXYUSERPWD.3 CURLOPT_PROXY_SERVICE_NAME.3 CURLOPT_PROXY_TRANSFER_MODE.3 CURLOPT_PUT.3 CURLOPT_QUOTE.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLOPT_RANDOM_FILE.3 CURLOPT_RANGE.3 CURLOPT_READDATA.3 CURLOPT_READFUNCTION.3 CURLOPT_REDIR_PROTOCOLS.3 CURLOPT_REFERER.3 CURLOPT_RESOLVE.3 CURLOPT_RESUME_FROM.3 CURLOPT_RESUME_FROM_LARGE.3 CURLOPT_RTSP_CLIENT_CSEQ.3 CURLOPT_RTSP_REQUEST.3 CURLOPT_RTSP_SERVER_CSEQ.3 CURLOPT_RTSP_SESSION_ID.3 CURLOPT_RTSP_STREAM_URI.3 CURLOPT_RTSP_TRANSPORT.3 CURLOPT_SASL_IR.3 CURLOPT_SEEKDATA.3 CURLOPT_SEEKFUNCTION.3 CURLOPT_SERVICE_NAME.3 CURLOPT_SHARE.3 CURLOPT_SOCKOPTDATA.3 CURLOPT_SOCKOPTFUNCTION.3 CURLOPT_SOCKS5_GSSAPI_NEC.3 CURLOPT_SOCKS5_GSSAPI_SERVICE.3 CURLOPT_SSH_AUTH_TYPES.3 CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3 CURLOPT_SSH_KEYDATA.3 CURLOPT_SSH_KEYFUNCTION.3 CURLOPT_SSH_KNOWNHOSTS.3 CURLOPT_SSH_PRIVATE_KEYFILE.3 CURLOPT_SSH_PUBLIC_KEYFILE.3 CURLOPT_SSLCERT.3 CURLOPT_SSLCERTTYPE.3 CURLOPT_SSLENGINE.3 CURLOPT_SSLENGINE_DEFAULT.3 CURLOPT_SSLKEY.3 CURLOPT_SSLKEYTYPE.3 CURLOPT_SSLVERSION.3 CURLOPT_SSL_CIPHER_LIST.3 CURLOPT_SSL_CTX_DATA.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLOPT_SSL_CTX_FUNCTION.3 CURLOPT_SSL_ENABLE_ALPN.3 CURLOPT_SSL_ENABLE_NPN.3 CURLOPT_SSL_FALSESTART.3 CURLOPT_SSL_OPTIONS.3 CURLOPT_SSL_SESSIONID_CACHE.3 CURLOPT_SSL_VERIFYHOST.3 CURLOPT_SSL_VERIFYPEER.3 CURLOPT_SSL_VERIFYSTATUS.3 CURLOPT_STDERR.3 CURLOPT_STREAM_DEPENDS.3 CURLOPT_STREAM_DEPENDS_E.3 CURLOPT_STREAM_WEIGHT.3 CURLOPT_TCP_FASTOPEN.3 CURLOPT_TCP_KEEPALIVE.3 CURLOPT_TCP_KEEPIDLE.3 CURLOPT_TCP_KEEPINTVL.3 CURLOPT_TCP_NODELAY.3 CURLOPT_TELNETOPTIONS.3 CURLOPT_TFTP_BLKSIZE.3 CURLOPT_TFTP_NO_OPTIONS.3 CURLOPT_TIMECONDITION.3 CURLOPT_TIMEOUT.3 CURLOPT_TIMEOUT_MS.3 CURLOPT_TIMEVALUE.3 CURLOPT_TLSAUTH_PASSWORD.3 CURLOPT_TLSAUTH_TYPE.3 CURLOPT_TLSAUTH_USERNAME.3 CURLOPT_TRANSFERTEXT.3 CURLOPT_TRANSFER_ENCODING.3 CURLOPT_UNIX_SOCKET_PATH.3 CURLOPT_UNRESTRICTED_AUTH.3 CURLOPT_UPLOAD.3 CURLOPT_URL.3 CURLOPT_USERAGENT.3 CURLOPT_USERNAME.3 CURLOPT_USERPWD.3 CURLOPT_USE_SSL.3 CURLOPT_VERBOSE.3 CURLOPT_WILDCARDMATCH.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 CURLOPT_WRITEDATA.3 CURLOPT_WRITEFUNCTION.3 CURLOPT_XFERINFODATA.3 CURLOPT_XFERINFOFUNCTION.3 CURLOPT_XOAUTH2_BEARER.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# make[7]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/libcurl/opts'
# make[6]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/libcurl/opts'
# make[6]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/libcurl'
# make[7]: Entering directory '/tmp/curl/src/curl-7.49.1/docs/libcurl'
# make[7]: Nothing to be done for 'install-exec-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/share/aclocal'
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 libcurl.m4 '/tmp/curl/pkg/curl/usr/share/aclocal'
# /usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_getinfo.3 curl_easy_init.3 curl_easy_perform.3 curl_easy_setopt.3 curl_easy_duphandle.3 curl_formadd.3 curl_formfree.3 curl_getdate.3 curl_getenv.3 curl_slist_append.3 curl_slist_free_all.3 curl_version.3 curl_version_info.3 curl_escape.3 curl_unescape.3 curl_free.3 curl_strequal.3 curl_mprintf.3 curl_global_init.3 curl_global_cleanup.3 curl_multi_add_handle.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_remove_handle.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 libcurl.3 libcurl-easy.3 libcurl-multi.3 libcurl-share.3 libcurl-errors.3 curl_easy_strerror.3 curl_multi_strerror.3 curl_share_strerror.3 curl_global_init_mem.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# /usr/bin/install -c -m 644 libcurl-tutorial.3 curl_easy_reset.3 curl_easy_escape.3 curl_easy_unescape.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_timeout.3 curl_formget.3 curl_multi_assign.3 curl_easy_pause.3 curl_easy_recv.3 curl_easy_send.3 curl_multi_socket_action.3 curl_multi_wait.3 libcurl-symbols.3 libcurl-thread.3 curl_multi_socket_all.3 '/tmp/curl/pkg/curl/usr/share/man/man3'
# make[7]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/libcurl'
# make[6]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/libcurl'
# make[5]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs/libcurl'
# make[5]: Entering directory '/tmp/curl/src/curl-7.49.1/docs'
# make[6]: Entering directory '/tmp/curl/src/curl-7.49.1/docs'
# make[6]: Nothing to be done for 'install-exec-am'.
# /usr/sbin/mkdir -p '/tmp/curl/pkg/curl/usr/share/man/man1'
# /usr/bin/install -c -m 644 curl.1 curl-config.1 '/tmp/curl/pkg/curl/usr/share/man/man1'
# make[6]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs'
# make[5]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs'
# make[4]: Leaving directory '/tmp/curl/src/curl-7.49.1/docs'
# make[3]: Leaving directory '/tmp/curl/src/curl-7.49.1'
# make[2]: Leaving directory '/tmp/curl/src/curl-7.49.1'
# make[1]: Leaving directory '/tmp/curl/src/curl-7.49.1'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# -> Stripping unneeded symbols from binaries and libraries...
# ==> Checking for packaging issue...
# ==> Creating package "curl"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Creating package "curl-debug"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: curl 7.49.1-1 (Wed Aug 24 14:29:52 UTC 2016)

CMD: pacman --query --file curl-7.49.1-1-x86_64.pkg.tar.xz
# curl 7.49.1-1

Creating hybrid package for 'curl'

Trying to find vanilla package 'curl'...

CMD: pacman --query --file /mirror/python2-pycurl-7.43.0-1.pkg.tar.xz
# python2-pycurl 7.43.0-1

CMD: pacman --query --file /mirror/curl-7.49.1-1.pkg.tar.xz
# curl 7.49.1-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/libcurl.so.4
# /usr/lib/libcurl.so
# /usr/lib/libcurl.so.4.4.0
# /usr/lib/pkgconfig/libcurl.pc
# /usr/bin/curl-config
# /usr/bin/curl
# /usr/include/curl/curl.h
# /usr/include/curl/curlver.h
# /usr/include/curl/easy.h
# /usr/include/curl/mprintf.h
# /usr/include/curl/stdcheaders.h
# /usr/include/curl/multi.h
# /usr/include/curl/typecheck-gcc.h
# /usr/include/curl/curlrules.h
# /usr/include/curl/curlbuild-64.h
# /usr/include/curl/curlbuild.h
# /usr/share/man/man3/CURLINFO_ACTIVESOCKET.3.gz
# /usr/share/man/man3/CURLINFO_APPCONNECT_TIME.3.gz
# /usr/share/man/man3/CURLINFO_CERTINFO.3.gz
# /usr/share/man/man3/CURLINFO_CONDITION_UNMET.3.gz
# /usr/share/man/man3/CURLINFO_CONNECT_TIME.3.gz
# /usr/share/man/man3/CURLINFO_CONTENT_LENGTH_DOWNLOAD.3.gz
# /usr/share/man/man3/CURLINFO_CONTENT_LENGTH_UPLOAD.3.gz
# /usr/share/man/man3/CURLINFO_CONTENT_TYPE.3.gz
# /usr/share/man/man3/CURLINFO_COOKIELIST.3.gz
# /usr/share/man/man3/CURLINFO_EFFECTIVE_URL.3.gz
# /usr/share/man/man3/CURLINFO_FILETIME.3.gz
# /usr/share/man/man3/CURLINFO_FTP_ENTRY_PATH.3.gz
# /usr/share/man/man3/CURLINFO_HEADER_SIZE.3.gz
# /usr/share/man/man3/CURLINFO_HTTPAUTH_AVAIL.3.gz
# /usr/share/man/man3/CURLINFO_HTTP_CONNECTCODE.3.gz
# /usr/share/man/man3/CURLINFO_LASTSOCKET.3.gz
# /usr/share/man/man3/CURLINFO_LOCAL_IP.3.gz
# /usr/share/man/man3/CURLINFO_LOCAL_PORT.3.gz
# /usr/share/man/man3/CURLINFO_NAMELOOKUP_TIME.3.gz
# /usr/share/man/man3/CURLINFO_NUM_CONNECTS.3.gz
# /usr/share/man/man3/CURLINFO_OS_ERRNO.3.gz
# /usr/share/man/man3/CURLINFO_PRETRANSFER_TIME.3.gz
# /usr/share/man/man3/CURLINFO_PRIMARY_IP.3.gz
# /usr/share/man/man3/CURLINFO_PRIMARY_PORT.3.gz
# /usr/share/man/man3/CURLINFO_PRIVATE.3.gz
# /usr/share/man/man3/CURLINFO_PROXYAUTH_AVAIL.3.gz
# /usr/share/man/man3/CURLINFO_REDIRECT_COUNT.3.gz
# /usr/share/man/man3/CURLINFO_REDIRECT_TIME.3.gz
# /usr/share/man/man3/CURLINFO_REDIRECT_URL.3.gz
# /usr/share/man/man3/CURLINFO_REQUEST_SIZE.3.gz
# /usr/share/man/man3/CURLINFO_RESPONSE_CODE.3.gz
# /usr/share/man/man3/CURLINFO_RTSP_CLIENT_CSEQ.3.gz
# /usr/share/man/man3/CURLINFO_RTSP_CSEQ_RECV.3.gz
# /usr/share/man/man3/CURLINFO_RTSP_SERVER_CSEQ.3.gz
# /usr/share/man/man3/CURLINFO_RTSP_SESSION_ID.3.gz
# /usr/share/man/man3/CURLINFO_SIZE_DOWNLOAD.3.gz
# /usr/share/man/man3/CURLINFO_SIZE_UPLOAD.3.gz
# /usr/share/man/man3/CURLINFO_SPEED_DOWNLOAD.3.gz
# /usr/share/man/man3/CURLINFO_SPEED_UPLOAD.3.gz
# /usr/share/man/man3/CURLINFO_SSL_ENGINES.3.gz
# /usr/share/man/man3/CURLINFO_SSL_VERIFYRESULT.3.gz
# /usr/share/man/man3/CURLINFO_STARTTRANSFER_TIME.3.gz
# /usr/share/man/man3/CURLINFO_TLS_SESSION.3.gz
# /usr/share/man/man3/CURLINFO_TLS_SSL_PTR.3.gz
# /usr/share/man/man3/CURLINFO_TOTAL_TIME.3.gz
# /usr/share/man/man3/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.3.gz
# /usr/share/man/man3/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.3.gz
# /usr/share/man/man3/CURLMOPT_MAXCONNECTS.3.gz
# /usr/share/man/man3/CURLMOPT_MAX_HOST_CONNECTIONS.3.gz
# /usr/share/man/man3/CURLMOPT_MAX_PIPELINE_LENGTH.3.gz
# /usr/share/man/man3/CURLMOPT_MAX_TOTAL_CONNECTIONS.3.gz
# /usr/share/man/man3/CURLMOPT_PIPELINING.3.gz
# /usr/share/man/man3/CURLMOPT_PIPELINING_SERVER_BL.3.gz
# /usr/share/man/man3/CURLMOPT_PIPELINING_SITE_BL.3.gz
# /usr/share/man/man3/CURLMOPT_PUSHDATA.3.gz
# /usr/share/man/man3/CURLMOPT_PUSHFUNCTION.3.gz
# /usr/share/man/man3/CURLMOPT_SOCKETDATA.3.gz
# /usr/share/man/man3/CURLMOPT_SOCKETFUNCTION.3.gz
# /usr/share/man/man3/CURLMOPT_TIMERDATA.3.gz
# /usr/share/man/man3/CURLMOPT_TIMERFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_ACCEPTTIMEOUT_MS.3.gz
# /usr/share/man/man3/CURLOPT_ACCEPT_ENCODING.3.gz
# /usr/share/man/man3/CURLOPT_ADDRESS_SCOPE.3.gz
# /usr/share/man/man3/CURLOPT_APPEND.3.gz
# /usr/share/man/man3/CURLOPT_AUTOREFERER.3.gz
# /usr/share/man/man3/CURLOPT_BUFFERSIZE.3.gz
# /usr/share/man/man3/CURLOPT_CAINFO.3.gz
# /usr/share/man/man3/CURLOPT_CAPATH.3.gz
# /usr/share/man/man3/CURLOPT_CERTINFO.3.gz
# /usr/share/man/man3/CURLOPT_CHUNK_BGN_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_CHUNK_DATA.3.gz
# /usr/share/man/man3/CURLOPT_CHUNK_END_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_CLOSESOCKETDATA.3.gz
# /usr/share/man/man3/CURLOPT_CLOSESOCKETFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_CONNECTTIMEOUT.3.gz
# /usr/share/man/man3/CURLOPT_CONNECTTIMEOUT_MS.3.gz
# /usr/share/man/man3/CURLOPT_CONNECT_ONLY.3.gz
# /usr/share/man/man3/CURLOPT_CONNECT_TO.3.gz
# /usr/share/man/man3/CURLOPT_CONV_FROM_NETWORK_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_CONV_FROM_UTF8_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_CONV_TO_NETWORK_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_COOKIE.3.gz
# /usr/share/man/man3/CURLOPT_COOKIEFILE.3.gz
# /usr/share/man/man3/CURLOPT_COOKIEJAR.3.gz
# /usr/share/man/man3/CURLOPT_COOKIELIST.3.gz
# /usr/share/man/man3/CURLOPT_COOKIESESSION.3.gz
# /usr/share/man/man3/CURLOPT_COPYPOSTFIELDS.3.gz
# /usr/share/man/man3/CURLOPT_CRLF.3.gz
# /usr/share/man/man3/CURLOPT_CRLFILE.3.gz
# /usr/share/man/man3/CURLOPT_CUSTOMREQUEST.3.gz
# /usr/share/man/man3/CURLOPT_DEBUGDATA.3.gz
# /usr/share/man/man3/CURLOPT_DEBUGFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_DEFAULT_PROTOCOL.3.gz
# /usr/share/man/man3/CURLOPT_DIRLISTONLY.3.gz
# /usr/share/man/man3/CURLOPT_DNS_CACHE_TIMEOUT.3.gz
# /usr/share/man/man3/CURLOPT_DNS_INTERFACE.3.gz
# /usr/share/man/man3/CURLOPT_DNS_LOCAL_IP4.3.gz
# /usr/share/man/man3/CURLOPT_DNS_LOCAL_IP6.3.gz
# /usr/share/man/man3/CURLOPT_DNS_SERVERS.3.gz
# /usr/share/man/man3/CURLOPT_DNS_USE_GLOBAL_CACHE.3.gz
# /usr/share/man/man3/CURLOPT_EGDSOCKET.3.gz
# /usr/share/man/man3/CURLOPT_ERRORBUFFER.3.gz
# /usr/share/man/man3/CURLOPT_EXPECT_100_TIMEOUT_MS.3.gz
# /usr/share/man/man3/CURLOPT_FAILONERROR.3.gz
# /usr/share/man/man3/CURLOPT_FILETIME.3.gz
# /usr/share/man/man3/CURLOPT_FNMATCH_DATA.3.gz
# /usr/share/man/man3/CURLOPT_FNMATCH_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_FOLLOWLOCATION.3.gz
# /usr/share/man/man3/CURLOPT_FORBID_REUSE.3.gz
# /usr/share/man/man3/CURLOPT_FRESH_CONNECT.3.gz
# /usr/share/man/man3/CURLOPT_FTPPORT.3.gz
# /usr/share/man/man3/CURLOPT_FTPSSLAUTH.3.gz
# /usr/share/man/man3/CURLOPT_FTP_ACCOUNT.3.gz
# /usr/share/man/man3/CURLOPT_FTP_ALTERNATIVE_TO_USER.3.gz
# /usr/share/man/man3/CURLOPT_FTP_CREATE_MISSING_DIRS.3.gz
# /usr/share/man/man3/CURLOPT_FTP_FILEMETHOD.3.gz
# /usr/share/man/man3/CURLOPT_FTP_RESPONSE_TIMEOUT.3.gz
# /usr/share/man/man3/CURLOPT_FTP_SKIP_PASV_IP.3.gz
# /usr/share/man/man3/CURLOPT_FTP_SSL_CCC.3.gz
# /usr/share/man/man3/CURLOPT_FTP_USE_EPRT.3.gz
# /usr/share/man/man3/CURLOPT_FTP_USE_EPSV.3.gz
# /usr/share/man/man3/CURLOPT_FTP_USE_PRET.3.gz
# /usr/share/man/man3/CURLOPT_GSSAPI_DELEGATION.3.gz
# /usr/share/man/man3/CURLOPT_HEADER.3.gz
# /usr/share/man/man3/CURLOPT_HEADERDATA.3.gz
# /usr/share/man/man3/CURLOPT_HEADERFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_HEADEROPT.3.gz
# /usr/share/man/man3/CURLOPT_HTTP200ALIASES.3.gz
# /usr/share/man/man3/CURLOPT_HTTPAUTH.3.gz
# /usr/share/man/man3/CURLOPT_HTTPGET.3.gz
# /usr/share/man/man3/CURLOPT_HTTPHEADER.3.gz
# /usr/share/man/man3/CURLOPT_HTTPPOST.3.gz
# /usr/share/man/man3/CURLOPT_HTTPPROXYTUNNEL.3.gz
# /usr/share/man/man3/CURLOPT_HTTP_CONTENT_DECODING.3.gz
# /usr/share/man/man3/CURLOPT_HTTP_TRANSFER_DECODING.3.gz
# /usr/share/man/man3/CURLOPT_HTTP_VERSION.3.gz
# /usr/share/man/man3/CURLOPT_IGNORE_CONTENT_LENGTH.3.gz
# /usr/share/man/man3/CURLOPT_INFILESIZE.3.gz
# /usr/share/man/man3/CURLOPT_INFILESIZE_LARGE.3.gz
# /usr/share/man/man3/CURLOPT_INTERFACE.3.gz
# /usr/share/man/man3/CURLOPT_INTERLEAVEDATA.3.gz
# /usr/share/man/man3/CURLOPT_INTERLEAVEFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_IOCTLDATA.3.gz
# /usr/share/man/man3/CURLOPT_IOCTLFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_IPRESOLVE.3.gz
# /usr/share/man/man3/CURLOPT_ISSUERCERT.3.gz
# /usr/share/man/man3/CURLOPT_KEYPASSWD.3.gz
# /usr/share/man/man3/CURLOPT_KRBLEVEL.3.gz
# /usr/share/man/man3/CURLOPT_LOCALPORT.3.gz
# /usr/share/man/man3/CURLOPT_LOCALPORTRANGE.3.gz
# /usr/share/man/man3/CURLOPT_LOGIN_OPTIONS.3.gz
# /usr/share/man/man3/CURLOPT_LOW_SPEED_LIMIT.3.gz
# /usr/share/man/man3/CURLOPT_LOW_SPEED_TIME.3.gz
# /usr/share/man/man3/CURLOPT_MAIL_AUTH.3.gz
# /usr/share/man/man3/CURLOPT_MAIL_FROM.3.gz
# /usr/share/man/man3/CURLOPT_MAIL_RCPT.3.gz
# /usr/share/man/man3/CURLOPT_MAXCONNECTS.3.gz
# /usr/share/man/man3/CURLOPT_MAXFILESIZE.3.gz
# /usr/share/man/man3/CURLOPT_MAXFILESIZE_LARGE.3.gz
# /usr/share/man/man3/CURLOPT_MAXREDIRS.3.gz
# /usr/share/man/man3/CURLOPT_MAX_RECV_SPEED_LARGE.3.gz
# /usr/share/man/man3/CURLOPT_MAX_SEND_SPEED_LARGE.3.gz
# /usr/share/man/man3/CURLOPT_NETRC.3.gz
# /usr/share/man/man3/CURLOPT_NETRC_FILE.3.gz
# /usr/share/man/man3/CURLOPT_NEW_DIRECTORY_PERMS.3.gz
# /usr/share/man/man3/CURLOPT_NEW_FILE_PERMS.3.gz
# /usr/share/man/man3/CURLOPT_NOBODY.3.gz
# /usr/share/man/man3/CURLOPT_NOPROGRESS.3.gz
# /usr/share/man/man3/CURLOPT_NOPROXY.3.gz
# /usr/share/man/man3/CURLOPT_NOSIGNAL.3.gz
# /usr/share/man/man3/CURLOPT_OPENSOCKETDATA.3.gz
# /usr/share/man/man3/CURLOPT_OPENSOCKETFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_PASSWORD.3.gz
# /usr/share/man/man3/CURLOPT_PATH_AS_IS.3.gz
# /usr/share/man/man3/CURLOPT_PINNEDPUBLICKEY.3.gz
# /usr/share/man/man3/CURLOPT_PIPEWAIT.3.gz
# /usr/share/man/man3/CURLOPT_PORT.3.gz
# /usr/share/man/man3/CURLOPT_POST.3.gz
# /usr/share/man/man3/CURLOPT_POSTFIELDS.3.gz
# /usr/share/man/man3/CURLOPT_POSTFIELDSIZE.3.gz
# /usr/share/man/man3/CURLOPT_POSTFIELDSIZE_LARGE.3.gz
# /usr/share/man/man3/CURLOPT_POSTQUOTE.3.gz
# /usr/share/man/man3/CURLOPT_POSTREDIR.3.gz
# /usr/share/man/man3/CURLOPT_PREQUOTE.3.gz
# /usr/share/man/man3/CURLOPT_PRIVATE.3.gz
# /usr/share/man/man3/CURLOPT_PROGRESSDATA.3.gz
# /usr/share/man/man3/CURLOPT_PROGRESSFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_PROTOCOLS.3.gz
# /usr/share/man/man3/CURLOPT_PROXY.3.gz
# /usr/share/man/man3/CURLOPT_PROXYAUTH.3.gz
# /usr/share/man/man3/CURLOPT_PROXYHEADER.3.gz
# /usr/share/man/man3/CURLOPT_PROXYPASSWORD.3.gz
# /usr/share/man/man3/libcurl.3.gz
# /usr/share/man/man3/CURLOPT_PROXYPORT.3.gz
# /usr/share/man/man3/CURLOPT_PROXYTYPE.3.gz
# /usr/share/man/man3/CURLOPT_PROXYUSERNAME.3.gz
# /usr/share/man/man3/CURLOPT_PROXYUSERPWD.3.gz
# /usr/share/man/man3/CURLOPT_PROXY_SERVICE_NAME.3.gz
# /usr/share/man/man3/CURLOPT_PROXY_TRANSFER_MODE.3.gz
# /usr/share/man/man3/CURLOPT_PUT.3.gz
# /usr/share/man/man3/CURLOPT_QUOTE.3.gz
# /usr/share/man/man3/CURLOPT_RANDOM_FILE.3.gz
# /usr/share/man/man3/CURLOPT_RANGE.3.gz
# /usr/share/man/man3/CURLOPT_READDATA.3.gz
# /usr/share/man/man3/CURLOPT_READFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_REDIR_PROTOCOLS.3.gz
# /usr/share/man/man3/CURLOPT_REFERER.3.gz
# /usr/share/man/man3/CURLOPT_RESOLVE.3.gz
# /usr/share/man/man3/CURLOPT_RESUME_FROM.3.gz
# /usr/share/man/man3/CURLOPT_RESUME_FROM_LARGE.3.gz
# /usr/share/man/man3/CURLOPT_RTSP_CLIENT_CSEQ.3.gz
# /usr/share/man/man3/CURLOPT_RTSP_REQUEST.3.gz
# /usr/share/man/man3/CURLOPT_RTSP_SERVER_CSEQ.3.gz
# /usr/share/man/man3/CURLOPT_RTSP_SESSION_ID.3.gz
# /usr/share/man/man3/CURLOPT_RTSP_STREAM_URI.3.gz
# /usr/share/man/man3/CURLOPT_RTSP_TRANSPORT.3.gz
# /usr/share/man/man3/CURLOPT_SASL_IR.3.gz
# /usr/share/man/man3/CURLOPT_SEEKDATA.3.gz
# /usr/share/man/man3/CURLOPT_SEEKFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_SERVICE_NAME.3.gz
# /usr/share/man/man3/CURLOPT_SHARE.3.gz
# /usr/share/man/man3/CURLOPT_SOCKOPTDATA.3.gz
# /usr/share/man/man3/CURLOPT_SOCKOPTFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_SOCKS5_GSSAPI_NEC.3.gz
# /usr/share/man/man3/CURLOPT_SOCKS5_GSSAPI_SERVICE.3.gz
# /usr/share/man/man3/CURLOPT_SSH_AUTH_TYPES.3.gz
# /usr/share/man/man3/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3.gz
# /usr/share/man/man3/CURLOPT_SSH_KEYDATA.3.gz
# /usr/share/man/man3/CURLOPT_SSH_KEYFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_SSH_KNOWNHOSTS.3.gz
# /usr/share/man/man3/CURLOPT_SSH_PRIVATE_KEYFILE.3.gz
# /usr/share/man/man3/CURLOPT_SSH_PUBLIC_KEYFILE.3.gz
# /usr/share/man/man3/CURLOPT_SSLCERT.3.gz
# /usr/share/man/man3/CURLOPT_SSLCERTTYPE.3.gz
# /usr/share/man/man3/CURLOPT_SSLENGINE.3.gz
# /usr/share/man/man3/CURLOPT_SSLENGINE_DEFAULT.3.gz
# /usr/share/man/man3/CURLOPT_SSLKEY.3.gz
# /usr/share/man/man3/CURLOPT_SSLKEYTYPE.3.gz
# /usr/share/man/man3/CURLOPT_SSLVERSION.3.gz
# /usr/share/man/man3/CURLOPT_SSL_CIPHER_LIST.3.gz
# /usr/share/man/man3/CURLOPT_SSL_CTX_DATA.3.gz
# /usr/share/man/man3/CURLOPT_SSL_CTX_FUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_SSL_ENABLE_ALPN.3.gz
# /usr/share/man/man3/CURLOPT_SSL_ENABLE_NPN.3.gz
# /usr/share/man/man3/CURLOPT_SSL_FALSESTART.3.gz
# /usr/share/man/man3/CURLOPT_SSL_OPTIONS.3.gz
# /usr/share/man/man3/CURLOPT_SSL_SESSIONID_CACHE.3.gz
# /usr/share/man/man3/CURLOPT_SSL_VERIFYHOST.3.gz
# /usr/share/man/man3/CURLOPT_SSL_VERIFYPEER.3.gz
# /usr/share/man/man3/CURLOPT_SSL_VERIFYSTATUS.3.gz
# /usr/share/man/man3/CURLOPT_STDERR.3.gz
# /usr/share/man/man3/CURLOPT_STREAM_DEPENDS.3.gz
# /usr/share/man/man3/CURLOPT_STREAM_DEPENDS_E.3.gz
# /usr/share/man/man3/CURLOPT_STREAM_WEIGHT.3.gz
# /usr/share/man/man3/CURLOPT_TCP_FASTOPEN.3.gz
# /usr/share/man/man3/CURLOPT_TCP_KEEPALIVE.3.gz
# /usr/share/man/man3/CURLOPT_TCP_KEEPIDLE.3.gz
# /usr/share/man/man3/CURLOPT_TCP_KEEPINTVL.3.gz
# /usr/share/man/man3/CURLOPT_TCP_NODELAY.3.gz
# /usr/share/man/man3/CURLOPT_TELNETOPTIONS.3.gz
# /usr/share/man/man3/CURLOPT_TFTP_BLKSIZE.3.gz
# /usr/share/man/man3/CURLOPT_TFTP_NO_OPTIONS.3.gz
# /usr/share/man/man3/CURLOPT_TIMECONDITION.3.gz
# /usr/share/man/man3/CURLOPT_TIMEOUT.3.gz
# /usr/share/man/man3/CURLOPT_TIMEOUT_MS.3.gz
# /usr/share/man/man3/CURLOPT_TIMEVALUE.3.gz
# /usr/share/man/man3/CURLOPT_TLSAUTH_PASSWORD.3.gz
# /usr/share/man/man3/CURLOPT_TLSAUTH_TYPE.3.gz
# /usr/share/man/man3/CURLOPT_TLSAUTH_USERNAME.3.gz
# /usr/share/man/man3/CURLOPT_TRANSFERTEXT.3.gz
# /usr/share/man/man3/CURLOPT_TRANSFER_ENCODING.3.gz
# /usr/share/man/man3/CURLOPT_UNIX_SOCKET_PATH.3.gz
# /usr/share/man/man3/CURLOPT_UNRESTRICTED_AUTH.3.gz
# /usr/share/man/man3/CURLOPT_UPLOAD.3.gz
# /usr/share/man/man3/CURLOPT_URL.3.gz
# /usr/share/man/man3/CURLOPT_USERAGENT.3.gz
# /usr/share/man/man3/CURLOPT_USERNAME.3.gz
# /usr/share/man/man3/CURLOPT_USERPWD.3.gz
# /usr/share/man/man3/CURLOPT_USE_SSL.3.gz
# /usr/share/man/man3/CURLOPT_VERBOSE.3.gz
# /usr/share/man/man3/CURLOPT_WILDCARDMATCH.3.gz
# /usr/share/man/man3/CURLOPT_WRITEDATA.3.gz
# /usr/share/man/man3/CURLOPT_WRITEFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_XFERINFODATA.3.gz
# /usr/share/man/man3/CURLOPT_XFERINFOFUNCTION.3.gz
# /usr/share/man/man3/CURLOPT_XOAUTH2_BEARER.3.gz
# /usr/share/man/man3/curl_easy_cleanup.3.gz
# /usr/share/man/man3/curl_easy_getinfo.3.gz
# /usr/share/man/man3/curl_easy_init.3.gz
# /usr/share/man/man3/curl_easy_perform.3.gz
# /usr/share/man/man3/curl_easy_setopt.3.gz
# /usr/share/man/man3/curl_easy_duphandle.3.gz
# /usr/share/man/man3/curl_formadd.3.gz
# /usr/share/man/man3/curl_formfree.3.gz
# /usr/share/man/man3/curl_getdate.3.gz
# /usr/share/man/man3/curl_getenv.3.gz
# /usr/share/man/man3/curl_slist_append.3.gz
# /usr/share/man/man3/curl_slist_free_all.3.gz
# /usr/share/man/man3/curl_version.3.gz
# /usr/share/man/man3/curl_version_info.3.gz
# /usr/share/man/man3/curl_escape.3.gz
# /usr/share/man/man3/curl_unescape.3.gz
# /usr/share/man/man3/curl_free.3.gz
# /usr/share/man/man3/curl_strequal.3.gz
# /usr/share/man/man3/curl_mprintf.3.gz
# /usr/share/man/man3/curl_global_init.3.gz
# /usr/share/man/man3/curl_global_cleanup.3.gz
# /usr/share/man/man3/curl_multi_add_handle.3.gz
# /usr/share/man/man3/curl_multi_cleanup.3.gz
# /usr/share/man/man3/curl_multi_fdset.3.gz
# /usr/share/man/man3/curl_multi_info_read.3.gz
# /usr/share/man/man3/curl_multi_init.3.gz
# /usr/share/man/man3/curl_multi_perform.3.gz
# /usr/share/man/man3/curl_multi_remove_handle.3.gz
# /usr/share/man/man3/curl_share_cleanup.3.gz
# /usr/share/man/man3/curl_share_init.3.gz
# /usr/share/man/man3/curl_share_setopt.3.gz
# /usr/share/man/man3/libcurl-easy.3.gz
# /usr/share/man/man3/libcurl-multi.3.gz
# /usr/share/man/man3/libcurl-share.3.gz
# /usr/share/man/man3/libcurl-errors.3.gz
# /usr/share/man/man3/curl_easy_strerror.3.gz
# /usr/share/man/man3/curl_multi_strerror.3.gz
# /usr/share/man/man3/curl_share_strerror.3.gz
# /usr/share/man/man3/curl_global_init_mem.3.gz
# /usr/share/man/man3/libcurl-tutorial.3.gz
# /usr/share/man/man3/curl_easy_reset.3.gz
# /usr/share/man/man3/curl_easy_escape.3.gz
# /usr/share/man/man3/curl_easy_unescape.3.gz
# /usr/share/man/man3/curl_multi_setopt.3.gz
# /usr/share/man/man3/curl_multi_socket.3.gz
# /usr/share/man/man3/curl_multi_timeout.3.gz
# /usr/share/man/man3/curl_formget.3.gz
# /usr/share/man/man3/curl_multi_assign.3.gz
# /usr/share/man/man3/curl_easy_pause.3.gz
# /usr/share/man/man3/curl_easy_recv.3.gz
# /usr/share/man/man3/curl_easy_send.3.gz
# /usr/share/man/man3/curl_multi_socket_action.3.gz
# /usr/share/man/man3/curl_multi_wait.3.gz
# /usr/share/man/man3/libcurl-symbols.3.gz
# /usr/share/man/man3/libcurl-thread.3.gz
# /usr/share/man/man3/curl_multi_socket_all.3.gz
# /usr/share/man/man1/curl.1.gz
# /usr/share/man/man1/curl-config.1.gz
# /usr/share/aclocal/libcurl.m4
# /usr/share/licenses/curl/COPYING
# /sysroot/usr/lib/libcurl.so.4.4.0
# /sysroot/usr/lib/libcurl.so.4
# /sysroot/usr/lib/libcurl.so
# /sysroot/usr/lib/libcurl.la
# /sysroot/usr/lib/libcurl.a
# /sysroot/usr/lib/pkgconfig/libcurl.pc
# /sysroot/usr/include/curl/curl.h
# /sysroot/usr/include/curl/curlver.h
# /sysroot/usr/include/curl/easy.h
# /sysroot/usr/include/curl/mprintf.h
# /sysroot/usr/include/curl/stdcheaders.h
# /sysroot/usr/include/curl/multi.h
# /sysroot/usr/include/curl/typecheck-gcc.h
# /sysroot/usr/include/curl/curlrules.h
# /sysroot/usr/include/curl/curlbuild-64.h
# /sysroot/usr/include/curl/curlbuild.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf curl.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/curl.pkg.tar.xz

CMD: pacman --query --file curl-debug-7.49.1-1-x86_64.pkg.tar.xz
# curl-debug 7.49.1-1

Creating hybrid package for 'curl-debug'

Trying to find vanilla package 'curl-debug'...

No matching packages found.

Printing config logfiles

CMD: config logfiles '/tmp/curl/src/curl-7.49.1/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by curl configure -, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --mandir=/usr/share/man --disable-ldap --disable-ldaps --enable-ipv6 --enable-manual --enable-versioned-symbols --enable-threaded-resolver --with-gssapi --with-libidn --with-random=/dev/urandom --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 361a31743500
# uname -m = x86_64
# uname -r = 4.7.1-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Wed Aug 17 08:13:35 CEST 2016
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:3090: checking whether to enable maintainer-specific portions of Makefiles
# configure:3099: result: no
# configure:3123: checking whether make supports nested variables
# configure:3140: result: yes
# configure:3153: checking whether to enable debug build options
# configure:3172: result: no
# configure:3176: checking whether to enable compiler optimizer
# configure:3197: result: (assumed) yes
# configure:3209: checking whether to enable strict compiler warnings
# configure:3228: result: no
# configure:3232: checking whether to enable compiler warnings as errors
# configure:3251: result: no
# configure:3255: checking whether to enable curl debug memory tracking
# configure:3274: result: no
# configure:3288: checking whether to enable hiding of library internal symbols
# configure:3309: result: yes
# configure:3320: checking whether to enable c-ares for DNS lookups
# configure:3342: result: no
# configure:3346: checking whether to disable dependency on -lrt
# configure:3362: result: (assumed no)
# configure:3394: checking for path separator
# configure:3396: result: :
# configure:3422: checking for sed
# configure:3441: found /usr/sbin/sed
# configure:3454: result: /usr/sbin/sed
# configure:3471: checking for grep
# configure:3490: found /usr/sbin/grep
# configure:3503: result: /usr/sbin/grep
# configure:3519: checking for egrep
# configure:3522: result: /usr/sbin/grep -E
# configure:3578: checking for x86_64-unknown-linux-ar
# configure:3612: result: no
# configure:3622: checking for ar
# configure:3641: found /usr/sbin/ar
# configure:3653: result: /usr/sbin/ar
# configure:3905: checking for a BSD-compatible install
# configure:3973: result: /usr/bin/install -c
# configure:3995: checking for x86_64-unknown-linux-gcc
# configure:4025: result: no
# configure:4035: checking for gcc
# configure:4051: found /usr/sbin/gcc
# configure:4062: result: gcc
# configure:4291: checking for C compiler version
# configure:4300: gcc --version >&5
# gcc (GCC) 6.1.1 20160602
# Copyright (C) 2016 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:4311: $? = 0
# configure:4300: gcc -v >&5
# Using built-in specs.
# COLLECT_GCC=gcc
# COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper
# Target: x86_64-pc-linux-gnu
# Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
# Thread model: posix
# gcc version 6.1.1 20160602 (GCC)
# configure:4311: $? = 0
# configure:4300: gcc -V >&5
# gcc: error: unrecognized command line option '-V'
# gcc: fatal error: no input files
# compilation terminated.
# configure:4311: $? = 1
# configure:4300: gcc -qversion >&5
# gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
# gcc: fatal error: no input files
# compilation terminated.
# configure:4311: $? = 1
# configure:4330: checking whether the C compiler works
# configure:4352: gcc conftest.c >&5
# configure:4356: $? = 0
# configure:4404: result: yes
# configure:4407: checking for C compiler default output file name
# configure:4409: result: a.out
# configure:4415: checking for suffix of executables
# configure:4422: gcc -o conftest conftest.c >&5
# configure:4426: $? = 0
# configure:4448: result:
# configure:4469: checking whether we are cross compiling
# configure:4477: gcc -o conftest conftest.c >&5
# configure:4481: $? = 0
# configure:4488: ./conftest
# configure:4492: $? = 0
# configure:4507: result: no
# configure:4512: checking for suffix of object files
# configure:4533: gcc -c conftest.c >&5
# configure:4537: $? = 0
# configure:4558: result: o
# configure:4562: checking whether we are using the GNU C compiler
# configure:4580: gcc -c conftest.c >&5
# configure:4580: $? = 0
# configure:4589: result: yes
# configure:4598: checking whether gcc accepts -g
# configure:4617: gcc -c -g conftest.c >&5
# configure:4617: $? = 0
# configure:4656: result: yes
# configure:4673: checking for gcc option to accept ISO C89
# configure:4735: gcc -c conftest.c >&5
# configure:4735: $? = 0
# configure:4748: result: none needed
# configure:4773: checking whether gcc understands -c and -o together
# configure:4794: gcc -c conftest.c -o conftest2.o
# configure:4797: $? = 0
# configure:4794: gcc -c conftest.c -o conftest2.o
# configure:4797: $? = 0
# configure:4809: result: yes
# configure:4832: checking how to run the C preprocessor
# configure:4863: gcc -E conftest.c
# configure:4863: $? = 0
# configure:4877: gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4877: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:4902: result: gcc -E
# configure:4922: gcc -E conftest.c
# configure:4922: $? = 0
# configure:4936: gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4936: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:4977: checking whether build environment is sane
# configure:5032: result: yes
# configure:5180: checking for a thread-safe mkdir -p
# configure:5219: result: /usr/sbin/mkdir -p
# configure:5226: checking for gawk
# configure:5242: found /usr/sbin/gawk
# configure:5253: result: gawk
# configure:5264: checking whether make sets $(MAKE)
# configure:5286: result: yes
# configure:5316: checking for style of include used by make
# configure:5344: result: GNU
# configure:5445: checking dependency style of gcc
# configure:5556: result: gcc3
# configure:5619: checking curl version
# configure:5621: result: 7.49.1
# configure:5666: checking build system type
# configure:5680: result: x86_64-pc-linux-gnu
# configure:5700: checking host system type
# configure:5713: result: x86_64-unknown-linux-gnu
# configure:5762: checking for sys/types.h
# configure:5762: gcc -c conftest.c >&5
# configure:5762: $? = 0
# configure:5762: result: yes
# configure:5762: checking for stdint.h
# configure:5762: gcc -c conftest.c >&5
# configure:5762: $? = 0
# configure:5762: result: yes
# configure:5762: checking for inttypes.h
# configure:5762: gcc -c conftest.c >&5
# configure:5762: $? = 0
# configure:5762: result: yes
# configure:5775: checking for grep that handles long lines and -e
# configure:5833: result: /usr/sbin/grep
# configure:5838: checking for egrep
# configure:5900: result: /usr/sbin/grep -E
# configure:5905: checking for ANSI C header files
# configure:5924: gcc -c conftest.c >&5
# configure:5924: $? = 0
# configure:5997: gcc -o conftest conftest.c >&5
# configure:5997: $? = 0
# configure:5997: ./conftest
# configure:5997: $? = 0
# configure:6008: result: yes
# configure:6021: checking for sys/types.h
# configure:6021: result: yes
# configure:6021: checking for sys/stat.h
# configure:6021: gcc -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for stdlib.h
# configure:6021: gcc -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for string.h
# configure:6021: gcc -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for memory.h
# configure:6021: gcc -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for strings.h
# configure:6021: gcc -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for inttypes.h
# configure:6021: result: yes
# configure:6021: checking for stdint.h
# configure:6021: result: yes
# configure:6021: checking for unistd.h
# configure:6021: gcc -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6034: checking if cpp -P is needed
# configure:6051: result: yes
# configure:6055: checking if cpp -P works
# configure:6074: result: yes
# configure:6100: checking size of long
# configure:6105: gcc -o conftest conftest.c >&5
# configure:6105: $? = 0
# configure:6105: ./conftest
# configure:6105: $? = 0
# configure:6119: result: 8
# configure:6133: checking size of void*
# configure:6138: gcc -o conftest conftest.c >&5
# configure:6138: $? = 0
# configure:6138: ./conftest
# configure:6138: $? = 0
# configure:6152: result: 8
# configure:6190: checking for 64-bit curl_off_t data type
# configure:6240: gcc -c conftest.c >&5
# configure:6240: $? = 0
# configure:6306: result: long
# configure:6431: checking size of curl_off_t
# configure:6433: result: 8
# configure:6436: checking formatting string directive for curl_off_t
# configure:6476: result: "ld"
# configure:6479: checking formatting string directive for unsigned curl_off_t
# configure:6481: result: "lu"
# configure:6485: checking constant suffix string for curl_off_t
# configure:6552: gcc -c conftest.c >&5
# configure:6552: $? = 0
# configure:6566: result: L
# configure:6568: checking constant suffix string for unsigned curl_off_t
# configure:6570: result: UL
# configure:6640: checking if OS is AIX (to define _ALL_SOURCE)
# configure:6660: result: no
# configure:6670: checking if _THREAD_SAFE is already defined
# configure:6691: gcc -c conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:43:7: error: unknown type name 'force'
# force compilation error
# ^~~~~
# conftest.c:43:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
# force compilation error
# ^~~~~
# configure:6691: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #ifdef _THREAD_SAFE
# | int dummy=1;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:6699: result: no
# configure:6707: checking if _THREAD_SAFE is actually needed
# configure:6726: result: no
# configure:6731: checking if _THREAD_SAFE is onwards defined
# configure:6748: result: no
# configure:6755: checking if _REENTRANT is already defined
# configure:6776: gcc -c conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:43:7: error: unknown type name 'force'
# force compilation error
# ^~~~~
# conftest.c:43:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
# force compilation error
# ^~~~~
# configure:6776: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #ifdef _REENTRANT
# | int dummy=1;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:6784: result: no
# configure:6792: checking if _REENTRANT is actually needed
# configure:6823: gcc -c conftest.c >&5
# configure:6823: $? = 0
# configure:6854: gcc -c conftest.c >&5
# configure:6854: $? = 0
# configure:6925: gcc -o conftest conftest.c >&5
# configure:6925: $? = 0
# configure:7004: gcc -o conftest conftest.c >&5
# configure:7004: $? = 0
# configure:7083: gcc -o conftest conftest.c >&5
# configure:7083: $? = 0
# configure:7162: gcc -o conftest conftest.c >&5
# configure:7162: $? = 0
# configure:7241: gcc -o conftest conftest.c >&5
# /tmp/cc8MMsYc.o: In function `main':
# conftest.c:(.text+0xa): undefined reference to `inet_ntoa_r'
# collect2: error: ld returned 1 exit status
# configure:7241: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | /* end confdefs.h. */
# |
# |
# | #define inet_ntoa_r innocuous_inet_ntoa_r
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef inet_ntoa_r
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char inet_ntoa_r ();
# | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return inet_ntoa_r ();
# | ;
# | return 0;
# | }
# |
# configure:7324: gcc -o conftest conftest.c >&5
# configure:7324: $? = 0
# configure:7403: gcc -o conftest conftest.c >&5
# configure:7403: $? = 0
# configure:7482: gcc -o conftest conftest.c >&5
# configure:7482: $? = 0
# configure:7561: gcc -o conftest conftest.c >&5
# configure:7561: $? = 0
# configure:7617: result: no
# configure:7622: checking if _REENTRANT is onwards defined
# configure:7639: result: no
# configure:7652: checking for special C compiler options needed for large files
# configure:7696: result: no
# configure:7702: checking for _FILE_OFFSET_BITS value needed for large files
# configure:7726: gcc -c conftest.c >&5
# configure:7726: $? = 0
# configure:7757: result: no
# configure:7887: checking how to print strings
# configure:7914: result: printf
# configure:7935: checking for a sed that does not truncate output
# configure:7999: result: /usr/sbin/sed
# configure:8017: checking for fgrep
# configure:8079: result: /usr/sbin/grep -F
# configure:8114: checking for ld used by gcc
# configure:8181: result: /usr/sbin/ld
# configure:8188: checking if the linker (/usr/sbin/ld) is GNU ld
# configure:8203: result: yes
# configure:8215: checking for BSD- or MS-compatible name lister (nm)
# configure:8269: result: no
# configure:8283: checking for x86_64-unknown-linux-dumpbin
# configure:8313: result: no
# configure:8283: checking for x86_64-unknown-linux-link
# configure:8313: result: no
# configure:8327: checking for dumpbin
# configure:8357: result: no
# configure:8327: checking for link
# configure:8343: found /usr/sbin/link
# configure:8354: result: link -dump
# configure:8399: checking the name lister (nm) interface
# configure:8406: gcc -c conftest.c >&5
# configure:8409: nm "conftest.o"
# configure:8412: output
# 0000000000000000 B some_variable
# configure:8419: result: BSD nm
# configure:8422: checking whether ln -s works
# configure:8426: result: yes
# configure:8434: checking the maximum length of command line arguments
# configure:8565: result: 1572864
# configure:8613: checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:8653: result: func_convert_file_noop
# configure:8660: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
# configure:8680: result: func_convert_file_noop
# configure:8687: checking for /usr/sbin/ld option to reload object files
# configure:8694: result: -r
# configure:8728: checking for x86_64-unknown-linux-objdump
# configure:8758: result: no
# configure:8768: checking for objdump
# configure:8784: found /usr/sbin/objdump
# configure:8795: result: objdump
# configure:8824: checking how to recognize dependent libraries
# configure:9024: result: pass_all
# configure:9069: checking for x86_64-unknown-linux-dlltool
# configure:9099: result: no
# configure:9109: checking for dlltool
# configure:9139: result: no
# configure:9166: checking how to associate runtime and link libraries
# configure:9193: result: printf %s\n
# configure:9209: checking for x86_64-unknown-linux-ar
# configure:9236: result: /usr/sbin/ar
# configure:9317: checking for archiver @FILE support
# configure:9333: gcc -c conftest.c >&5
# configure:9333: $? = 0
# configure:9336: /usr/sbin/ar cru libconftest.a @conftest.lst >&5
# /usr/sbin/ar: `u' modifier ignored since `D' is the default (see `U')
# configure:9339: $? = 0
# configure:9344: /usr/sbin/ar cru libconftest.a @conftest.lst >&5
# /usr/sbin/ar: `u' modifier ignored since `D' is the default (see `U')
# /usr/sbin/ar: conftest.o: No such file or directory
# configure:9347: $? = 1
# configure:9359: result: @
# configure:9377: checking for x86_64-unknown-linux-strip
# configure:9407: result: no
# configure:9417: checking for strip
# configure:9433: found /usr/sbin/strip
# configure:9444: result: strip
# configure:9476: checking for x86_64-unknown-linux-ranlib
# configure:9506: result: no
# configure:9516: checking for ranlib
# configure:9532: found /usr/sbin/ranlib
# configure:9543: result: ranlib
# configure:9645: checking command to parse nm output from gcc object
# configure:9798: gcc -c conftest.c >&5
# configure:9801: $? = 0
# configure:9805: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:9808: $? = 0
# configure:9874: gcc -o conftest conftest.c conftstm.o >&5
# configure:9877: $? = 0
# configure:9915: result: ok
# configure:9962: checking for sysroot
# configure:9992: result: no
# configure:9999: checking for a working dd
# configure:10037: result: /usr/sbin/dd
# configure:10041: checking how to truncate binary pipes
# configure:10056: result: /usr/sbin/dd bs=4096 count=1
# configure:10192: gcc -c conftest.c >&5
# configure:10195: $? = 0
# configure:10344: checking for x86_64-unknown-linux-mt
# configure:10374: result: no
# configure:10384: checking for mt
# configure:10414: result: no
# configure:10434: checking if : is a manifest tool
# configure:10440: : '-?'
# configure:10448: result: no
# configure:11121: checking for dlfcn.h
# configure:11121: gcc -c conftest.c >&5
# configure:11121: $? = 0
# configure:11121: result: yes
# configure:11782: checking for objdir
# configure:11797: result: .libs
# configure:12061: checking if gcc supports -fno-rtti -fno-exceptions
# configure:12079: gcc -c -fno-rtti -fno-exceptions conftest.c >&5
# cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
# configure:12083: $? = 0
# configure:12096: result: no
# configure:12454: checking for gcc option to produce PIC
# configure:12461: result: -fPIC -DPIC
# configure:12469: checking if gcc PIC flag -fPIC -DPIC works
# configure:12487: gcc -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:12491: $? = 0
# configure:12504: result: yes
# configure:12533: checking if gcc static flag -static works
# configure:12561: result: yes
# configure:12576: checking if gcc supports -c -o file.o
# configure:12597: gcc -c -o out/conftest2.o conftest.c >&5
# configure:12601: $? = 0
# configure:12623: result: yes
# configure:12631: checking if gcc supports -c -o file.o
# configure:12678: result: yes
# configure:12711: checking whether the gcc linker (/usr/sbin/ld -m elf_x86_64) supports shared libraries
# configure:13972: result: yes
# configure:14009: checking whether -lc should be explicitly linked in
# configure:14017: gcc -c conftest.c >&5
# configure:14020: $? = 0
# configure:14035: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:14038: $? = 0
# configure:14052: result: no
# configure:14212: checking dynamic linker characteristics
# configure:14792: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:14792: $? = 0
# configure:15041: result: GNU/Linux ld.so
# configure:15163: checking how to hardcode library paths into programs
# configure:15188: result: immediate
# configure:15721: checking whether stripping libraries is possible
# configure:15726: result: yes
# configure:15761: checking if libtool supports shared libraries
# configure:15763: result: yes
# configure:15766: checking whether to build shared libraries
# configure:15791: result: yes
# configure:15794: checking whether to build static libraries
# configure:15798: result: yes
# configure:15869: checking whether to build shared libraries with -version-info
# configure:15880: result: yes
# configure:15887: checking whether to build shared libraries with -no-undefined
# configure:15900: result: no
# configure:15907: checking whether to build shared libraries with -mimpure-text
# configure:15917: result: no
# configure:15944: checking whether to build shared libraries with PIC
# configure:15946: result: yes
# configure:15948: checking whether to build static libraries with PIC
# configure:15950: result: yes
# configure:15957: checking whether to build shared libraries only
# configure:15965: result: no
# configure:15972: checking whether to build static libraries only
# configure:15980: result: no
# configure:16070: checking for inline
# configure:16086: gcc -c conftest.c >&5
# configure:16086: $? = 0
# configure:16094: result: inline
# configure:16129: checking if compiler is DEC/Compaq/HP C
# configure:16153: gcc -E -P conftest.c
# configure:16153: $? = 0
# configure:16197: gcc -E -P conftest.c
# configure:16197: $? = 0
# configure:16231: result: no
# configure:16236: checking if compiler is HP-UX C
# configure:16260: gcc -E -P conftest.c
# configure:16260: $? = 0
# configure:16293: result: no
# configure:16298: checking if compiler is IBM C
# configure:16322: gcc -E -P conftest.c
# configure:16322: $? = 0
# configure:16363: result: no
# configure:16368: checking if compiler is Intel C
# configure:16392: gcc -E -P conftest.c
# configure:16392: $? = 0
# configure:16487: result: no
# configure:16492: checking if compiler is clang
# configure:16516: gcc -E -P conftest.c
# configure:16516: $? = 0
# configure:16560: result: no
# configure:16565: checking if compiler is GNU C
# configure:16589: gcc -E -P conftest.c
# configure:16589: $? = 0
# configure:16613: result: yes
# configure:16655: gcc -E -P conftest.c
# configure:16655: $? = 0
# configure:16683: checking if compiler is LCC
# configure:16707: gcc -E -P conftest.c
# configure:16707: $? = 0
# configure:16740: result: no
# configure:16745: checking if compiler is SGI MIPSpro C
# configure:16769: gcc -E -P conftest.c
# configure:16769: $? = 0
# configure:16813: gcc -E -P conftest.c
# configure:16813: $? = 0
# configure:16857: gcc -E -P conftest.c
# configure:16857: $? = 0
# configure:16892: result: no
# configure:16897: checking if compiler is SGI MIPS C
# configure:16921: gcc -E -P conftest.c
# configure:16921: $? = 0
# configure:16965: gcc -E -P conftest.c
# configure:16965: $? = 0
# configure:17000: result: no
# configure:17005: checking if compiler is SunPro C
# configure:17029: gcc -E -P conftest.c
# configure:17029: $? = 0
# configure:17062: result: no
# configure:17067: checking if compiler is Tiny C
# configure:17091: gcc -E -P conftest.c
# configure:17091: $? = 0
# configure:17124: result: no
# configure:17129: checking if compiler is Watcom C
# configure:17153: gcc -E -P conftest.c
# configure:17153: $? = 0
# configure:17240: result: no
# configure:17594: checking if compiler accepts debug disabling options
# configure:17626: gcc -c conftest.c >&5
# configure:17626: $? = 0
# configure:17656: gcc -o conftest conftest.c >&5
# configure:17656: $? = 0
# configure:17698: gcc -o conftest conftest.c >&5
# configure:17698: $? = 0
# configure:17698: ./conftest
# configure:17698: $? = 0
# configure:17717: result: yes
# configure:17719: compiler options added:
# configure:17751: checking if compiler optimizer assumed setting might be used
# configure:17789: result: yes
# configure:17835: checking if compiler accepts optimizer enabling options
# configure:17871: gcc -c -O2 conftest.c >&5
# configure:17871: $? = 0
# configure:17901: gcc -o conftest -O2 conftest.c >&5
# configure:17901: $? = 0
# configure:17943: gcc -o conftest -O2 conftest.c >&5
# configure:17943: $? = 0
# configure:17943: ./conftest
# configure:17943: $? = 0
# configure:17962: result: yes
# configure:17964: compiler options added: -O2
# configure:18217: checking if compiler accepts strict warning options
# configure:18241: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:18241: $? = 0
# configure:18271: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
# configure:18271: $? = 0
# configure:18313: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
# configure:18313: $? = 0
# configure:18313: ./conftest
# configure:18313: $? = 0
# configure:18332: result: yes
# configure:18334: compiler options added: -Wno-system-headers
# configure:18364: checking if compiler halts on compilation errors
# configure:18381: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:42:7: error: unknown type name 'force'
# force compilation error
# ^~~~~
# conftest.c:42:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
# force compilation error
# ^~~~~
# configure:18381: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | force compilation error
# |
# | ;
# | return 0;
# | }
# |
# configure:18389: result: yes
# configure:18396: checking if compiler halts on negative sized arrays
# configure:18414: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:38:20: error: size of array 'bad_t' is negative
# typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
# ^~~~~
# configure:18414: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
# |
# | int main (void)
# | {
# |
# | bad_t dummy;
# |
# | ;
# | return 0;
# | }
# |
# configure:18422: result: yes
# configure:18429: checking if compiler halts on function prototype mismatch
# configure:18458: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:39:11: error: conflicting types for 'rand'
# int rand(int n);
# ^~~~
# In file included from conftest.c:38:0:
# /usr/include/stdlib.h:374:12: note: previous declaration of 'rand' was here
# extern int rand (void) __THROW;
# ^~~~
# conftest.c:40:11: error: conflicting types for 'rand'
# int rand(int n)
# ^~~~
# In file included from conftest.c:38:0:
# /usr/include/stdlib.h:374:12: note: previous declaration of 'rand' was here
# extern int rand (void) __THROW;
# ^~~~
# configure:18458: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | # include
# | int rand(int n);
# | int rand(int n)
# | {
# | if(n)
# | return ++n;
# | else
# | return n;
# | }
# |
# | int main (void)
# | {
# |
# | int i[2]={0,0};
# | int j = rand(i[0]);
# | if(j)
# | return j;
# |
# | ;
# | return 0;
# | }
# |
# configure:18466: result: yes
# configure:18473: checking if compiler supports hiding library internal symbols
# configure:18567: gcc -c -O2 -Wno-system-headers -fvisibility=hidden conftest.c >&5
# configure:18567: $? = 0
# configure:18590: result: yes
# configure:18703: checking for windows.h
# configure:18733: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:42:21: fatal error: windows.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:18733: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# |
# | int main (void)
# | {
# |
# | #if defined(__CYGWIN__) || defined(__CEGCC__)
# | HAVE_WINDOWS_H shall not be defined.
# | #else
# | int dummy=2*WINVER;
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:18745: result: no
# configure:18763: checking whether build target is a native Windows one
# configure:18805: result: no
# configure:19117: checking whether build target supports WIN32 file API
# configure:19198: result: no
# configure:19204: checking whether to support http
# configure:19230: result: yes
# configure:19235: checking whether to support ftp
# configure:19254: result: yes
# configure:19259: checking whether to support file
# configure:19278: result: yes
# configure:19283: checking whether to support ldap
# configure:19289: result: no
# configure:19309: checking whether to support ldaps
# configure:19315: result: no
# configure:19365: checking whether to support rtsp
# configure:19390: result: yes
# configure:19401: checking whether to support proxies
# configure:19420: result: yes
# configure:19426: checking whether to support dict
# configure:19445: result: yes
# configure:19450: checking whether to support telnet
# configure:19469: result: yes
# configure:19474: checking whether to support tftp
# configure:19493: result: yes
# configure:19499: checking whether to support pop3
# configure:19518: result: yes
# configure:19525: checking whether to support imap
# configure:19544: result: yes
# configure:19551: checking whether to support smb
# configure:19570: result: yes
# configure:19576: checking whether to support smtp
# configure:19595: result: yes
# configure:19601: checking whether to support gopher
# configure:19620: result: yes
# configure:19628: checking whether to provide built-in manual
# configure:19637: result: yes
# configure:19650: checking whether to enable generation of C code
# configure:19668: result: yes
# configure:19675: checking whether to use libgcc
# configure:19690: result: no
# configure:19697: checking if X/Open network library is required
# configure:19717: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:47:3: error: unknown type name 'force'
# force compilation error
# ^~~~~
# conftest.c:47:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
# force compilation error
# ^~~~~
# conftest.c:49:1: error: expected declaration or statement at end of input
# }
# ^
# configure:19717: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | /* end confdefs.h. */
# |
# |
# | int main (void)
# | {
# | #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
# | return 0;
# | #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
# | return 0;
# | #else
# | force compilation error
# | #endif
# | }
# |
# |
# configure:19724: result: no
# configure:19728: checking for gethostbyname
# configure:19728: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
# configure:19728: $? = 0
# configure:19728: result: yes
# configure:20154: checking for windows.h
# configure:20196: result: no
# configure:20214: checking for winsock.h
# configure:20257: result: no
# configure:20270: checking for winsock2.h
# configure:20313: result: no
# configure:20327: checking for connect in libraries
# configure:20354: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
# configure:20354: $? = 0
# configure:20372: result: yes
# configure:20385: checking whether time.h and sys/time.h may both be included
# configure:20404: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:20404: $? = 0
# configure:20411: result: yes
# configure:20423: checking for sys/types.h
# configure:20423: result: yes
# configure:20423: checking sys/time.h usability
# configure:20423: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:20423: $? = 0
# configure:20423: result: yes
# configure:20423: checking sys/time.h presence
# configure:20423: gcc -E conftest.c
# configure:20423: $? = 0
# configure:20423: result: yes
# configure:20423: checking for sys/time.h
# configure:20423: result: yes
# configure:20423: checking time.h usability
# configure:20423: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:20423: $? = 0
# configure:20423: result: yes
# configure:20423: checking time.h presence
# configure:20423: gcc -E conftest.c
# configure:20423: $? = 0
# configure:20423: result: yes
# configure:20423: checking for time.h
# configure:20423: result: yes
# configure:20433: checking for monotonic clock_gettime
# configure:20466: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:20466: $? = 0
# configure:20468: result: yes
# configure:20486: checking for clock_gettime in libraries
# configure:20528: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
# configure:20528: $? = 0
# configure:20549: result: no additional lib required
# configure:20567: checking if monotonic clock_gettime works
# configure:20610: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
# configure:20610: $? = 0
# configure:20610: ./conftest
# configure:20610: $? = 0
# configure:20612: result: yes
# configure:20670: checking for inflateEnd in -lz
# configure:20692: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5
# configure:20692: $? = 0
# configure:20701: result: yes
# configure:20718: checking zlib.h usability
# configure:20718: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:20718: $? = 0
# configure:20718: result: yes
# configure:20718: checking zlib.h presence
# configure:20718: gcc -E conftest.c
# configure:20718: $? = 0
# configure:20718: result: yes
# configure:20718: checking for zlib.h
# configure:20718: result: yes
# configure:20806: found both libz and libz.h header
# configure:21449: checking whether to enable IPv6
# configure:21459: result: yes
# configure:21512: checking if struct sockaddr_in6 has sin6_scope_id member
# configure:21531: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:21531: $? = 0
# configure:21536: result: yes
# configure:21548: checking if argv can be written to
# configure:21566: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5
# configure:21566: $? = 0
# configure:21566: ./conftest
# configure:21566: $? = 0
# configure:21584: result: yes
# configure:21638: checking if GSS-API support is requested
# configure:21641: result: yes
# configure:21656: checking gss.h usability
# configure:21656: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:80:17: fatal error: gss.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:21656: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:21656: result: no
# configure:21656: checking gss.h presence
# configure:21656: gcc -E conftest.c
# conftest.c:47:17: fatal error: gss.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:21656: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | /* end confdefs.h. */
# | #include
# configure:21656: result: no
# configure:21656: checking for gss.h
# configure:21656: result: no
# configure:21668: checking gssapi/gssapi.h usability
# configure:21668: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:21668: $? = 0
# configure:21668: result: yes
# configure:21668: checking gssapi/gssapi.h presence
# configure:21668: gcc -E conftest.c
# configure:21668: $? = 0
# configure:21668: result: yes
# configure:21668: checking for gssapi/gssapi.h
# configure:21668: result: yes
# configure:21683: checking for gssapi/gssapi_generic.h
# configure:21683: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:21683: $? = 0
# configure:21683: result: yes
# configure:21683: checking for gssapi/gssapi_krb5.h
# configure:21683: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:21683: $? = 0
# configure:21683: result: yes
# configure:21723: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE
# configure:21747: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:21747: $? = 0
# configure:21749: result: yes
# configure:21838: checking whether to enable Windows native SSL/TLS (Windows native builds only)
# configure:21860: result: no
# configure:21876: checking whether to enable iOS/Mac OS X native SSL/TLS
# configure:21892: result: no
# configure:21989: checking for x86_64-unknown-linux-pkg-config
# configure:22023: result: no
# configure:22033: checking for pkg-config
# configure:22052: found /usr/sbin/pkg-config
# configure:22064: result: /usr/sbin/pkg-config
# configure:22089: checking for openssl options with pkg-config
# configure:22103: result: found
# configure:22132: pkg-config: SSL_LIBS: "-lssl -lcrypto"
# configure:22134: pkg-config: SSL_LDFLAGS: ""
# configure:22136: pkg-config: SSL_CPPFLAGS: ""
# configure:22148: checking for HMAC_Update in -lcrypto
# configure:22170: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22170: $? = 0
# configure:22179: result: yes
# configure:22241: checking OpenSSL linking without -ldl
# configure:22258: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22258: $? = 0
# configure:22260: result: yes
# configure:22312: checking for SSL_connect in -lssl
# configure:22334: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22334: $? = 0
# configure:22343: result: yes
# configure:22417: checking openssl/x509.h usability
# configure:22417: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking openssl/x509.h presence
# configure:22417: gcc -E conftest.c
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking for openssl/x509.h
# configure:22417: result: yes
# configure:22417: checking openssl/rsa.h usability
# configure:22417: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking openssl/rsa.h presence
# configure:22417: gcc -E conftest.c
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking for openssl/rsa.h
# configure:22417: result: yes
# configure:22417: checking openssl/crypto.h usability
# configure:22417: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking openssl/crypto.h presence
# configure:22417: gcc -E conftest.c
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking for openssl/crypto.h
# configure:22417: result: yes
# configure:22417: checking openssl/pem.h usability
# configure:22417: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking openssl/pem.h presence
# configure:22417: gcc -E conftest.c
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking for openssl/pem.h
# configure:22417: result: yes
# configure:22417: checking openssl/ssl.h usability
# configure:22417: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking openssl/ssl.h presence
# configure:22417: gcc -E conftest.c
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking for openssl/ssl.h
# configure:22417: result: yes
# configure:22417: checking openssl/err.h usability
# configure:22417: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking openssl/err.h presence
# configure:22417: gcc -E conftest.c
# configure:22417: $? = 0
# configure:22417: result: yes
# configure:22417: checking for openssl/err.h
# configure:22417: result: yes
# configure:22459: checking openssl/pkcs12.h usability
# configure:22459: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22459: $? = 0
# configure:22459: result: yes
# configure:22459: checking openssl/pkcs12.h presence
# configure:22459: gcc -E conftest.c
# configure:22459: $? = 0
# configure:22459: result: yes
# configure:22459: checking for openssl/pkcs12.h
# configure:22459: result: yes
# configure:22480: checking for ENGINE_init
# configure:22480: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22480: $? = 0
# configure:22480: result: yes
# configure:22485: checking openssl/engine.h usability
# configure:22485: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:22485: $? = 0
# configure:22485: result: yes
# configure:22485: checking openssl/engine.h presence
# configure:22485: gcc -E conftest.c
# configure:22485: $? = 0
# configure:22485: result: yes
# configure:22485: checking for openssl/engine.h
# configure:22485: result: yes
# configure:22498: checking for ENGINE_load_builtin_engines
# configure:22498: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22498: $? = 0
# configure:22498: result: yes
# configure:22521: checking for RAND_status
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22521: $? = 0
# configure:22521: result: yes
# configure:22521: checking for RAND_screen
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccWOJ1Wl.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `RAND_screen'
# collect2: error: ld returned 1 exit status
# configure:22521: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | /* end confdefs.h. */
# |
# | #define RAND_screen innocuous_RAND_screen
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef RAND_screen
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char RAND_screen ();
# | #if defined __stub_RAND_screen || defined __stub___RAND_screen
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return RAND_screen ();
# | ;
# | return 0;
# | }
# configure:22521: result: no
# configure:22521: checking for RAND_egd
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22521: $? = 0
# configure:22521: result: yes
# configure:22521: checking for ENGINE_cleanup
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22521: $? = 0
# configure:22521: result: yes
# configure:22521: checking for CRYPTO_cleanup_all_ex_data
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22521: $? = 0
# configure:22521: result: yes
# configure:22521: checking for SSL_get_shutdown
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22521: $? = 0
# configure:22521: result: yes
# configure:22521: checking for SSLv2_client_method
# configure:22521: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22521: $? = 0
# configure:22521: result: yes
# configure:22531: checking for BoringSSL
# configure:22551: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:76:42: fatal error: openssl/base.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:22551: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | /* end confdefs.h. */
# |
# |
# | #include
# |
# | int main (void)
# | {
# |
# | #ifndef OPENSSL_IS_BORINGSSL
# | #error not boringssl
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:22564: result: no
# configure:22570: checking for libressl
# configure:22588: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:81:21: error: 'LIBRESSL_VERSION_NUMBER' undeclared (first use in this function)
# int dummy = LIBRESSL_VERSION_NUMBER;
# ^~~~~~~~~~~~~~~~~~~~~~~
# conftest.c:81:21: note: each undeclared identifier is reported only once for each function it appears in
# configure:22588: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | /* end confdefs.h. */
# |
# |
# | #include
# |
# | int main (void)
# | {
# |
# | int dummy = LIBRESSL_VERSION_NUMBER;
# |
# | ;
# | return 0;
# | }
# |
# configure:22601: result: no
# configure:22623: checking for OpenSSL headers version
# configure:22653: gcc -E -P conftest.c
# configure:22653: $? = 0
# configure:22714: result: 1.0.2 - 0x1000208fL
# configure:22723: checking for OpenSSL library version
# configure:22791: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccV7HogD.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `SSL_CTX_set_not_resumable_session_callback'
# collect2: error: ld returned 1 exit status
# configure:22791: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | /* end confdefs.h. */
# |
# |
# | #define SSL_CTX_set_not_resumable_session_callback innocuous_SSL_CTX_set_not_resumable_session_callback
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef SSL_CTX_set_not_resumable_session_callback
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char SSL_CTX_set_not_resumable_session_callback ();
# | #if defined __stub_SSL_CTX_set_not_resumable_session_callback || defined __stub___SSL_CTX_set_not_resumable_session_callback
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return SSL_CTX_set_not_resumable_session_callback ();
# | ;
# | return 0;
# | }
# |
# configure:22829: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:22829: $? = 0
# configure:23213: result: 1.0.2
# configure:23221: checking for OpenSSL headers and library versions matching
# configure:23231: result: yes
# configure:23306: checking for SRP_Calc_client_key in -lcrypto
# configure:23328: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:23328: $? = 0
# configure:23337: result: yes
# configure:25017: checking default CA cert bundle/path
# configure:25129: result: /etc/ssl/certs/ca-certificates.crt
# configure:25147: checking whether to use builtin CA store of SSL library
# configure:25161: result: no
# configure:25185: checking for library containing psl_builtin
# configure:25213: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccu6ZiKD.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `psl_builtin'
# collect2: error: ld returned 1 exit status
# configure:25213: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char psl_builtin ();
# | int main (void)
# | {
# | return psl_builtin ();
# | ;
# | return 0;
# | }
# configure:25213: gcc -o conftest -O2 -Wno-system-headers conftest.c -lpsl -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /usr/sbin/ld: cannot find -lpsl
# collect2: error: ld returned 1 exit status
# configure:25213: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char psl_builtin ();
# | int main (void)
# | {
# | return psl_builtin ();
# | ;
# | return 0;
# | }
# configure:25230: result: no
# configure:25242: WARNING: libpsl was not found
# configure:25801: checking for libssh2_channel_open_ex in -lssh2
# configure:25823: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:25823: $? = 0
# configure:25832: result: yes
# configure:25846: checking libssh2.h usability
# configure:25846: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:25846: $? = 0
# configure:25846: result: yes
# configure:25846: checking libssh2.h presence
# configure:25846: gcc -E conftest.c
# configure:25846: $? = 0
# configure:25846: result: yes
# configure:25846: checking for libssh2.h
# configure:25846: result: yes
# configure:26058: checking for RTMP_Init in -lrtmp
# configure:26080: gcc -o conftest -O2 -Wno-system-headers conftest.c -lrtmp -lrtmp -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /usr/sbin/ld: cannot find -lrtmp
# /usr/sbin/ld: cannot find -lrtmp
# collect2: error: ld returned 1 exit status
# configure:26080: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char RTMP_Init ();
# | int main (void)
# | {
# | return RTMP_Init ();
# | ;
# | return 0;
# | }
# configure:26089: result: no
# configure:26130: checking whether versioned symbols are wanted
# configure:26135: result: yes
# configure:26137: checking if libraries can be versioned
# configure:26146: result: yes
# configure:26197: checking whether to enable Windows native IDN (Windows native builds only)
# configure:26209: result: no
# configure:26307: checking whether to build with libidn
# configure:26331: result: yes
# configure:26510: checking for x86_64-unknown-linux-pkg-config
# configure:26544: result: no
# configure:26554: checking for pkg-config
# configure:26585: result: /usr/sbin/pkg-config
# configure:26610: checking for libidn options with pkg-config
# configure:26624: result: found
# configure:26640: pkg-config: IDN_LIBS: "-lidn"
# configure:26642: pkg-config: IDN_LDFLAGS: ""
# configure:26644: pkg-config: IDN_CPPFLAGS: ""
# configure:26646: pkg-config: IDN_DIR: ""
# configure:26663: checking if idna_to_ascii_4i can be linked
# configure:26692: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:26692: $? = 0
# configure:26694: result: yes
# configure:26761: checking for idn_free
# configure:26761: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:26761: $? = 0
# configure:26761: result: yes
# configure:26761: checking for idna_strerror
# configure:26761: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:26761: $? = 0
# configure:26761: result: yes
# configure:26761: checking for tld_strerror
# configure:26761: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:26761: $? = 0
# configure:26761: result: yes
# configure:26773: checking idn-free.h usability
# configure:26773: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:26773: $? = 0
# configure:26773: result: yes
# configure:26773: checking idn-free.h presence
# configure:26773: gcc -E conftest.c
# configure:26773: $? = 0
# configure:26773: result: yes
# configure:26773: checking for idn-free.h
# configure:26773: result: yes
# configure:26773: checking tld.h usability
# configure:26773: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:26773: $? = 0
# configure:26773: result: yes
# configure:26773: checking tld.h presence
# configure:26773: gcc -E conftest.c
# configure:26773: $? = 0
# configure:26773: result: yes
# configure:26773: checking for tld.h
# configure:26773: result: yes
# configure:26847: checking for x86_64-unknown-linux-pkg-config
# configure:26878: result: /usr/sbin/pkg-config
# configure:26947: checking for libnghttp2 options with pkg-config
# configure:26958: result: no
# configure:27096: checking for ANSI C header files
# configure:27199: result: yes
# configure:27209: checking for malloc.h
# configure:27234: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27234: $? = 0
# configure:27246: result: yes
# configure:27274: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27274: $? = 0
# configure:27297: checking for memory.h
# configure:27322: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:97:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# free(p);
# ^~~~
# conftest.c:97:9: warning: incompatible implicit declaration of built-in function 'free'
# conftest.c:97:9: note: include '' or provide a declaration of 'free'
# configure:27322: $? = 0
# configure:27334: result: yes
# configure:27362: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27362: $? = 0
# configure:27428: checking for sys/types.h
# configure:27428: result: yes
# configure:27428: checking for sys/time.h
# configure:27428: result: yes
# configure:27428: checking for sys/select.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/socket.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/ioctl.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/uio.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for assert.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for unistd.h
# configure:27428: result: yes
# configure:27428: checking for stdlib.h
# configure:27428: result: yes
# configure:27428: checking for limits.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for arpa/inet.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for net/if.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for netinet/in.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/un.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for netinet/tcp.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for netdb.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/sockio.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:127:24: fatal error: sys/sockio.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:27428: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TIME_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SELECT_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_UN_H
# | #include
# | #endif
# |
# |
# |
# | #include
# configure:27428: result: no
# configure:27428: checking for sys/stat.h
# configure:27428: result: yes
# configure:27428: checking for sys/param.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for termios.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for termio.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sgtty.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for fcntl.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for alloca.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for time.h
# configure:27428: result: yes
# configure:27428: checking for io.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:135:16: fatal error: io.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:27428: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TIME_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SELECT_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_UN_H
# | #include
# | #endif
# |
# |
# |
# | #include
# configure:27428: result: no
# configure:27428: checking for pwd.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for utime.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/utime.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:137:23: fatal error: sys/utime.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:27428: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TIME_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SELECT_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_UN_H
# | #include
# | #endif
# |
# |
# |
# | #include
# configure:27428: result: no
# configure:27428: checking for sys/poll.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for poll.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for socket.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:139:20: fatal error: socket.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:27428: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TIME_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SELECT_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_UN_H
# | #include
# | #endif
# |
# |
# |
# | #include
# configure:27428: result: no
# configure:27428: checking for sys/resource.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for libgen.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for locale.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for errno.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for stdbool.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for arpa/tftp.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/filio.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:145:23: fatal error: sys/filio.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:27428: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TIME_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SELECT_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_UN_H
# | #include
# | #endif
# |
# |
# |
# | #include
# configure:27428: result: no
# configure:27428: checking for sys/wait.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for setjmp.h
# configure:27428: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27460: checking for an ANSI C-conforming const
# configure:27525: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27525: $? = 0
# configure:27532: result: yes
# configure:27541: checking for compiler support of C99 variadic macro style
# configure:27571: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27571: $? = 0
# configure:27583: result: yes
# configure:27594: checking for compiler support of old gcc variadic macro style
# configure:27624: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27624: $? = 0
# configure:27636: result: yes
# configure:27648: checking for size_t
# configure:27648: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27648: $? = 0
# configure:27648: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:162:21: error: expected expression before ')' token
# if (sizeof ((size_t)))
# ^
# configure:27648: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int main (void)
# | {
# | if (sizeof ((size_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:27648: result: yes
# configure:27659: checking whether time.h and sys/time.h may both be included
# configure:27685: result: yes
# configure:27697: checking for sys/types.h
# configure:27697: result: yes
# configure:27697: checking for sys/time.h
# configure:27697: result: yes
# configure:27697: checking for time.h
# configure:27697: result: yes
# configure:27697: checking for sys/socket.h
# configure:27697: result: yes
# configure:27707: checking for struct timeval
# configure:27760: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:27760: $? = 0
# configure:27772: result: yes
# configure:27788: checking run-time libs availability
# configure:27805: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int]
# main()
# ^~~~
# configure:27805: $? = 0
# configure:27805: ./conftest
# configure:27805: $? = 0
# configure:27806: result: fine
# configure:27826: checking size of size_t
# configure:27831: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:27831: $? = 0
# configure:27831: ./conftest
# configure:27831: $? = 0
# configure:27845: result: 8
# configure:27859: checking size of long
# configure:27878: result: 8
# configure:27892: checking size of int
# configure:27897: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:27897: $? = 0
# configure:27897: ./conftest
# configure:27897: $? = 0
# configure:27911: result: 4
# configure:27925: checking size of short
# configure:27930: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:27930: $? = 0
# configure:27930: ./conftest
# configure:27930: $? = 0
# configure:27944: result: 2
# configure:27969: checking size of time_t
# configure:27974: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:27974: $? = 0
# configure:27974: ./conftest
# configure:27974: $? = 0
# configure:27988: result: 8
# configure:28002: checking size of off_t
# configure:28007: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:28007: $? = 0
# configure:28007: ./conftest
# configure:28007: $? = 0
# configure:28021: result: 8
# configure:28043: checking for long long
# configure:28043: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28043: $? = 0
# configure:28043: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:175:24: error: expected expression before ')' token
# if (sizeof ((long long)))
# ^
# configure:28043: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int main (void)
# | {
# | if (sizeof ((long long)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:28043: result: yes
# configure:28054: checking if numberLL works
# configure:28071: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28071: $? = 0
# configure:28073: result: yes
# configure:28090: checking for ssize_t
# configure:28090: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28090: $? = 0
# configure:28090: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:177:22: error: expected expression before ')' token
# if (sizeof ((ssize_t)))
# ^
# configure:28090: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int main (void)
# | {
# | if (sizeof ((ssize_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:28090: result: yes
# configure:28101: checking for bool
# configure:28101: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28101: $? = 0
# configure:28101: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:153:19: error: expected expression before ')' token
# if (sizeof ((bool)))
# ^
# configure:28101: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_STDBOOL_H
# | #include
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((bool)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:28101: result: yes
# configure:28136: checking for windows.h
# configure:28178: result: no
# configure:28196: checking for winsock2.h
# configure:28239: result: no
# configure:28252: checking for ws2tcpip.h
# configure:28296: result: no
# configure:28322: checking for sys/types.h
# configure:28322: result: yes
# configure:28322: checking for sys/socket.h
# configure:28322: result: yes
# configure:28347: checking for curl_socklen_t data type
# configure:28375: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28375: $? = 0
# configure:28412: result: socklen_t
# configure:28419: checking size of curl_socklen_t
# configure:28465: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:148:21: error: unknown type name 'socklen_t'
# typedef socklen_t curl_socklen_t;
# ^~~~~~~~~
# configure:28465: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# |
# | typedef socklen_t curl_socklen_t;
# | typedef char dummy_arr[sizeof(curl_socklen_t) == 4 ? 1 : -1];
# |
# | int main (void)
# | {
# |
# | curl_socklen_t dummy;
# |
# | ;
# | return 0;
# | }
# |
# configure:28465: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:148:21: error: unknown type name 'socklen_t'
# typedef socklen_t curl_socklen_t;
# ^~~~~~~~~
# configure:28465: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# |
# | typedef socklen_t curl_socklen_t;
# | typedef char dummy_arr[sizeof(curl_socklen_t) == 4 ? 1 : -1];
# |
# | int main (void)
# | {
# |
# | curl_socklen_t dummy;
# |
# | ;
# | return 0;
# | }
# |
# configure:28465: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28465: $? = 0
# configure:28475: result: 4
# configure:28537: checking for sys/types.h
# configure:28537: result: yes
# configure:28537: checking for poll.h
# configure:28537: result: yes
# configure:28537: checking for sys/poll.h
# configure:28537: result: yes
# configure:28573: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:172:7: error: unknown type name 'force'
# force compilation error
# ^~~~~
# conftest.c:172:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
# force compilation error
# ^~~~~
# configure:28573: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_POLL_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_POLL_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | #if defined(events) || defined(revents)
# | return 0;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:28597: checking for in_addr_t
# configure:28597: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28597: $? = 0
# configure:28597: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:184:24: error: expected expression before ')' token
# if (sizeof ((in_addr_t)))
# ^
# configure:28597: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_ARPA_INET_H
# | #include
# | #endif
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((in_addr_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:28597: result: yes
# configure:28713: checking for struct sockaddr_storage
# configure:28713: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28713: $? = 0
# configure:28713: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:180:38: error: expected expression before ')' token
# if (sizeof ((struct sockaddr_storage)))
# ^
# configure:28713: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #endif
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_ARPA_INET_H
# | #include
# | #endif
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((struct sockaddr_storage)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:28713: result: yes
# configure:28750: checking signal.h usability
# configure:28750: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28750: $? = 0
# configure:28750: result: yes
# configure:28750: checking signal.h presence
# configure:28750: gcc -E conftest.c
# configure:28750: $? = 0
# configure:28750: result: yes
# configure:28750: checking for signal.h
# configure:28750: result: yes
# configure:28760: checking for sig_atomic_t
# configure:28760: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:28760: $? = 0
# configure:28760: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:162:27: error: expected expression before ')' token
# if (sizeof ((sig_atomic_t)))
# ^
# configure:28760: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SIGNAL_H
# | #include
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((sig_atomic_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:28760: result: yes
# configure:28777: checking if sig_atomic_t is already defined as volatile
# configure:28797: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:28797: $? = 0
# configure:28799: result: no
# configure:28822: checking return type of signal handlers
# configure:28839: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:160:10: error: void value not ignored as it ought to be
# return *(signal (0, 0)) (0) == 1;
# ~^~~~~~~~~~~~~~~~~~
# configure:28839: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | /* end confdefs.h. */
# | #include
# | #include
# |
# | int main (void)
# | {
# | return *(signal (0, 0)) (0) == 1;
# | ;
# | return 0;
# | }
# configure:28846: result: void
# configure:28859: checking for sys/select.h
# configure:28859: result: yes
# configure:28859: checking for sys/socket.h
# configure:28859: result: yes
# configure:28870: checking for select
# configure:28922: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:28922: $? = 0
# configure:28924: result: yes
# configure:28939: checking types of args and return type for select
# configure:29018: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:29018: $? = 0
# configure:29031: result: int,fd_set *,struct timeval *,int
# configure:29116: checking for sys/types.h
# configure:29116: result: yes
# configure:29116: checking for sys/socket.h
# configure:29116: result: yes
# configure:29127: checking for recv
# configure:29165: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:29165: $? = 0
# configure:29167: result: yes
# configure:29182: checking types of args and return type for recv
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, size_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, size_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, socklen_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, unsigned int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'char'
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, size_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, size_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, socklen_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, unsigned int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:36: error: expected ')' before 'void'
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:197:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:192:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:187:0:
# /usr/include/sys/socket.h:156:16: note: previous declaration of 'recv' was here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29239: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:29239: $? = 0
# configure:29253: result: int,void *,size_t,int,ssize_t
# configure:29304: checking for sys/types.h
# configure:29304: result: yes
# configure:29304: checking for sys/socket.h
# configure:29304: result: yes
# configure:29315: checking for send
# configure:29353: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:29353: $? = 0
# configure:29355: result: yes
# configure:29370: checking types of args and return type for send
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, size_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, size_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, socklen_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, socklen_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, unsigned int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'char'
# send(SOCKET, char *, unsigned int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, size_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, size_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, socklen_t, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, socklen_t, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, unsigned int, int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'void'
# send(SOCKET, void *, unsigned int, unsigned int);
# ^~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, size_t, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, size_t, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, int, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, int, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, socklen_t, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, unsigned int, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, size_t, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, size_t, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, int, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, int, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, socklen_t, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, unsigned int, int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:36: error: expected ')' before 'const'
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:205:23: error: unknown type name 'SOCKET'
# SOCKET s=0;
# ^~~~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:200:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^~~~
# In file included from conftest.c:195:0:
# /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^~~~
# configure:29426: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:29426: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:29426: $? = 0
# configure:29440: result: int,const void *,size_t,int,ssize_t
# configure:29528: checking for sys/types.h
# configure:29528: result: yes
# configure:29528: checking for sys/socket.h
# configure:29528: result: yes
# configure:29538: checking for MSG_NOSIGNAL
# configure:29580: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:29580: $? = 0
# configure:29592: result: yes
# configure:29618: checking for sys/types.h
# configure:29618: result: yes
# configure:29618: checking for unistd.h
# configure:29618: result: yes
# configure:29637: checking if alarm can be linked
# configure:29666: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:29666: $? = 0
# configure:29668: result: yes
# configure:29683: checking if alarm is prototyped
# configure:29694: result: yes
# configure:29710: checking if alarm is compilable
# configure:29729: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:29729: $? = 0
# configure:29731: result: yes
# configure:29746: checking if alarm usage allowed
# configure:29749: result: yes
# configure:29759: checking if alarm might be used
# configure:29765: result: yes
# configure:29795: checking for sys/types.h
# configure:29795: result: yes
# configure:29795: checking for string.h
# configure:29795: result: yes
# configure:29795: checking for strings.h
# configure:29795: result: yes
# configure:29820: checking for sys/types.h
# configure:29820: result: yes
# configure:29820: checking for libgen.h
# configure:29820: result: yes
# configure:29839: checking if basename can be linked
# configure:29868: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:29868: $? = 0
# configure:29870: result: yes
# configure:29885: checking if basename is prototyped
# configure:29898: result: yes
# configure:29914: checking if basename is compilable
# configure:29935: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:29935: $? = 0
# configure:29937: result: yes
# configure:29952: checking if basename usage allowed
# configure:29955: result: yes
# configure:29965: checking if basename might be used
# configure:29971: result: yes
# configure:29998: checking for sys/types.h
# configure:29998: result: yes
# configure:29998: checking for socket.h
# configure:29998: result: no
# configure:30017: checking if closesocket can be linked
# configure:30037: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c: In function 'main':
# conftest.c:223:15: warning: implicit declaration of function 'closesocket' [-Wimplicit-function-declaration]
# if(0 != closesocket(0))
# ^~~~~~~~~~~
# /tmp/ccR80MhM.o: In function `main':
# conftest.c:(.text.startup+0x9): undefined reference to `closesocket'
# collect2: error: ld returned 1 exit status
# configure:30037: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SOCKET_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != closesocket(0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:30045: result: no
# configure:30132: checking if closesocket might be used
# configure:30147: result: no
# configure:30159: checking if CloseSocket can be linked
# configure:30178: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c: In function 'main':
# conftest.c:208:15: warning: implicit declaration of function 'CloseSocket' [-Wimplicit-function-declaration]
# if(0 != CloseSocket(0))
# ^~~~~~~~~~~
# /tmp/cc8mW5vO.o: In function `main':
# conftest.c:(.text.startup+0x9): undefined reference to `CloseSocket'
# collect2: error: ld returned 1 exit status
# configure:30178: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != CloseSocket(0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:30186: result: no
# configure:30271: checking if CloseSocket might be used
# configure:30286: result: no
# configure:30298: checking if connect can be linked
# configure:30319: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:30319: $? = 0
# configure:30321: result: yes
# configure:30336: checking if connect is prototyped
# configure:30349: result: yes
# configure:30365: checking if connect is compilable
# configure:30386: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:30386: $? = 0
# configure:30388: result: yes
# configure:30403: checking if connect usage allowed
# configure:30406: result: yes
# configure:30416: checking if connect might be used
# configure:30422: result: yes
# configure:30452: checking for sys/types.h
# configure:30452: result: yes
# configure:30452: checking for unistd.h
# configure:30452: result: yes
# configure:30452: checking for fcntl.h
# configure:30452: result: yes
# configure:30471: checking if fcntl can be linked
# configure:30500: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:30500: $? = 0
# configure:30502: result: yes
# configure:30517: checking if fcntl is prototyped
# configure:30528: result: yes
# configure:30544: checking if fcntl is compilable
# configure:30563: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:30563: $? = 0
# configure:30565: result: yes
# configure:30580: checking if fcntl usage allowed
# configure:30583: result: yes
# configure:30593: checking if fcntl might be used
# configure:30599: result: yes
# configure:30619: checking if fcntl O_NONBLOCK is compilable
# configure:30639: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:30639: $? = 0
# configure:30641: result: yes
# configure:30656: checking if fcntl O_NONBLOCK usage allowed
# configure:30659: result: yes
# configure:30669: checking if fcntl O_NONBLOCK might be used
# configure:30673: result: yes
# configure:30706: checking for sys/types.h
# configure:30706: result: yes
# configure:30706: checking for stdio.h
# configure:30706: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:30706: $? = 0
# configure:30706: result: yes
# configure:30725: checking if fdopen can be linked
# configure:30754: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:30754: $? = 0
# configure:30756: result: yes
# configure:30771: checking if fdopen is prototyped
# configure:30782: result: yes
# configure:30798: checking if fdopen is compilable
# configure:30817: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:30817: $? = 0
# configure:30819: result: yes
# configure:30834: checking if fdopen usage allowed
# configure:30837: result: yes
# configure:30847: checking if fdopen might be used
# configure:30853: result: yes
# configure:30880: checking for sys/types.h
# configure:30880: result: yes
# configure:30880: checking for netdb.h
# configure:30880: result: yes
# configure:30899: checking if freeaddrinfo can be linked
# configure:30919: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:30919: $? = 0
# configure:30921: result: yes
# configure:30936: checking if freeaddrinfo is prototyped
# configure:30949: result: yes
# configure:30965: checking if freeaddrinfo is compilable
# configure:30985: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:30985: $? = 0
# configure:30987: result: yes
# configure:31002: checking if freeaddrinfo usage allowed
# configure:31005: result: yes
# configure:31015: checking if freeaddrinfo might be used
# configure:31021: result: yes
# configure:31054: checking for sys/types.h
# configure:31054: result: yes
# configure:31054: checking for sys/socket.h
# configure:31054: result: yes
# configure:31054: checking for netinet/in.h
# configure:31054: result: yes
# configure:31054: checking for ifaddrs.h
# configure:31054: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31054: $? = 0
# configure:31054: result: yes
# configure:31073: checking if freeifaddrs can be linked
# configure:31102: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:31102: $? = 0
# configure:31104: result: yes
# configure:31119: checking if freeifaddrs is prototyped
# configure:31130: result: yes
# configure:31146: checking if freeifaddrs is compilable
# configure:31164: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31164: $? = 0
# configure:31166: result: yes
# configure:31181: checking if freeifaddrs usage allowed
# configure:31184: result: yes
# configure:31194: checking if freeifaddrs might be used
# configure:31200: result: yes
# configure:31227: checking for sys/types.h
# configure:31227: result: yes
# configure:31227: checking for sys/xattr.h
# configure:31227: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31227: $? = 0
# configure:31227: result: yes
# configure:31247: checking if fsetxattr can be linked
# configure:31276: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:31276: $? = 0
# configure:31278: result: yes
# configure:31293: checking if fsetxattr is prototyped
# configure:31304: result: yes
# configure:31321: checking if fsetxattr takes 5 args.
# configure:31340: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31340: $? = 0
# configure:31342: result: yes
# configure:31392: checking if fsetxattr is compilable
# configure:31395: result: yes
# configure:31404: checking if fsetxattr usage allowed
# configure:31407: result: yes
# configure:31417: checking if fsetxattr might be used
# configure:31423: result: yes
# configure:31455: checking if ftruncate can be linked
# configure:31484: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:31484: $? = 0
# configure:31486: result: yes
# configure:31501: checking if ftruncate is prototyped
# configure:31512: result: yes
# configure:31528: checking if ftruncate is compilable
# configure:31547: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31547: $? = 0
# configure:31549: result: yes
# configure:31564: checking if ftruncate usage allowed
# configure:31567: result: yes
# configure:31577: checking if ftruncate might be used
# configure:31583: result: yes
# configure:31610: checking for sys/types.h
# configure:31610: result: yes
# configure:31610: checking for stdlib.h
# configure:31610: result: yes
# configure:31631: checking if getaddrinfo can be linked
# configure:31652: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:31652: $? = 0
# configure:31654: result: yes
# configure:31669: checking if getaddrinfo is prototyped
# configure:31682: result: yes
# configure:31698: checking if getaddrinfo is compilable
# configure:31719: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31719: $? = 0
# configure:31721: result: yes
# configure:31737: checking if getaddrinfo seems to work
# configure:31783: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:31783: $? = 0
# configure:31783: ./conftest
# configure:31783: $? = 0
# configure:31785: result: yes
# configure:31804: checking if getaddrinfo usage allowed
# configure:31807: result: yes
# configure:31817: checking if getaddrinfo might be used
# configure:31824: result: yes
# configure:31840: checking if getaddrinfo is threadsafe
# configure:31905: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31905: $? = 0
# configure:31947: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:31947: $? = 0
# configure:31978: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:230:11: error: unknown type name 'force'
# force compilation error
# ^~~~~
# conftest.c:230:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
# force compilation error
# ^~~~~
# configure:31978: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L)
# | return 0;
# | #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700)
# | return 0;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:31996: result: yes
# configure:32017: checking if gai_strerror can be linked
# configure:32037: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:32037: $? = 0
# configure:32039: result: yes
# configure:32054: checking if gai_strerror is prototyped
# configure:32066: result: yes
# configure:32082: checking if gai_strerror is compilable
# configure:32102: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:32102: $? = 0
# configure:32104: result: yes
# configure:32119: checking if gai_strerror usage allowed
# configure:32122: result: yes
# configure:32132: checking if gai_strerror might be used
# configure:32138: result: yes
# configure:32159: checking if gethostbyaddr can be linked
# configure:32179: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:32179: $? = 0
# configure:32181: result: yes
# configure:32196: checking if gethostbyaddr is prototyped
# configure:32208: result: yes
# configure:32224: checking if gethostbyaddr is compilable
# configure:32244: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:32244: $? = 0
# configure:32246: result: yes
# configure:32261: checking if gethostbyaddr usage allowed
# configure:32264: result: yes
# configure:32274: checking if gethostbyaddr might be used
# configure:32280: result: yes
# configure:32302: checking if gethostbyaddr_r can be linked
# configure:32331: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:32331: $? = 0
# configure:32333: result: yes
# configure:32348: checking if gethostbyaddr_r is prototyped
# configure:32359: result: yes
# configure:32376: checking if gethostbyaddr_r takes 5 args.
# configure:32395: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:236:19: error: too few arguments to function 'gethostbyaddr_r'
# if(0 != gethostbyaddr_r(0, 0, 0, 0, 0))
# ^~~~~~~~~~~~~~~
# In file included from conftest.c:229:0:
# /usr/include/netdb.h:172:12: note: declared here
# extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
# ^~~~~~~~~~~~~~~
# configure:32395: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:32404: result: no
# configure:32412: checking if gethostbyaddr_r takes 7 args.
# configure:32431: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:236:19: error: too few arguments to function 'gethostbyaddr_r'
# if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0))
# ^~~~~~~~~~~~~~~
# In file included from conftest.c:229:0:
# /usr/include/netdb.h:172:12: note: declared here
# extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
# ^~~~~~~~~~~~~~~
# configure:32431: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:32440: result: no
# configure:32448: checking if gethostbyaddr_r takes 8 args.
# configure:32467: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:32467: $? = 0
# configure:32469: result: yes
# configure:32483: checking if gethostbyaddr_r is compilable
# configure:32486: result: yes
# configure:32495: checking if gethostbyaddr_r usage allowed
# configure:32498: result: yes
# configure:32508: checking if gethostbyaddr_r might be used
# configure:32514: result: yes
# configure:32550: checking if gethostbyname can be linked
# configure:32570: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:32570: $? = 0
# configure:32572: result: yes
# configure:32587: checking if gethostbyname is prototyped
# configure:32599: result: yes
# configure:32615: checking if gethostbyname is compilable
# configure:32635: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:32635: $? = 0
# configure:32637: result: yes
# configure:32652: checking if gethostbyname usage allowed
# configure:32655: result: yes
# configure:32665: checking if gethostbyname might be used
# configure:32671: result: yes
# configure:32693: checking if gethostbyname_r can be linked
# configure:32722: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:32722: $? = 0
# configure:32724: result: yes
# configure:32739: checking if gethostbyname_r is prototyped
# configure:32750: result: yes
# configure:32767: checking if gethostbyname_r takes 3 args.
# configure:32786: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:239:19: error: too few arguments to function 'gethostbyname_r'
# if(0 != gethostbyname_r(0, 0, 0))
# ^~~~~~~~~~~~~~~
# In file included from conftest.c:232:0:
# /usr/include/netdb.h:179:12: note: declared here
# extern int gethostbyname_r (const char *__restrict __name,
# ^~~~~~~~~~~~~~~
# configure:32786: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != gethostbyname_r(0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:32795: result: no
# configure:32803: checking if gethostbyname_r takes 5 args.
# configure:32822: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:239:19: error: too few arguments to function 'gethostbyname_r'
# if(0 != gethostbyname_r(0, 0, 0, 0, 0))
# ^~~~~~~~~~~~~~~
# In file included from conftest.c:232:0:
# /usr/include/netdb.h:179:12: note: declared here
# extern int gethostbyname_r (const char *__restrict __name,
# ^~~~~~~~~~~~~~~
# configure:32822: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != gethostbyname_r(0, 0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:32831: result: no
# configure:32839: checking if gethostbyname_r takes 6 args.
# configure:32858: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:32858: $? = 0
# configure:32860: result: yes
# configure:32874: checking if gethostbyname_r is compilable
# configure:32877: result: yes
# configure:32886: checking if gethostbyname_r usage allowed
# configure:32889: result: yes
# configure:32899: checking if gethostbyname_r might be used
# configure:32905: result: yes
# configure:32941: checking if gethostname can be linked
# configure:32961: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:32961: $? = 0
# configure:32963: result: yes
# configure:32978: checking if gethostname is prototyped
# configure:32990: result: yes
# configure:33006: checking if gethostname is compilable
# configure:33026: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:33026: $? = 0
# configure:33028: result: yes
# configure:33043: checking for gethostname arg 2 data type
# configure:33069: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:259:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, int);
# ^~~~~~~~~~~
# In file included from conftest.c:249:0:
# /usr/include/unistd.h:882:12: note: previous declaration of 'gethostname' was here
# extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
# ^~~~~~~~~~~
# configure:33069: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | /* includes end */
# | /* preprocess start */
# | #ifdef HAVE_WINDOWS_H
# | # define FUNCALLCONV __stdcall
# | #else
# | # define FUNCALLCONV
# | #endif
# | /* preprocess end */
# | extern int FUNCALLCONV gethostname(char *, int);
# |
# | int main (void)
# | {
# |
# | if(0 != gethostname(0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:33069: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:259:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, unsigned int);
# ^~~~~~~~~~~
# In file included from conftest.c:249:0:
# /usr/include/unistd.h:882:12: note: previous declaration of 'gethostname' was here
# extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
# ^~~~~~~~~~~
# configure:33069: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | /* includes end */
# | /* preprocess start */
# | #ifdef HAVE_WINDOWS_H
# | # define FUNCALLCONV __stdcall
# | #else
# | # define FUNCALLCONV
# | #endif
# | /* preprocess end */
# | extern int FUNCALLCONV gethostname(char *, unsigned int);
# |
# | int main (void)
# | {
# |
# | if(0 != gethostname(0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:33069: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:33069: $? = 0
# configure:33078: result: size_t
# configure:33090: checking if gethostname usage allowed
# configure:33093: result: yes
# configure:33103: checking if gethostname might be used
# configure:33109: result: yes
# configure:33131: checking if getifaddrs can be linked
# configure:33160: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:33160: $? = 0
# configure:33162: result: yes
# configure:33177: checking if getifaddrs is prototyped
# configure:33188: result: yes
# configure:33204: checking if getifaddrs is compilable
# configure:33223: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:33223: $? = 0
# configure:33225: result: yes
# configure:33241: checking if getifaddrs seems to work
# configure:33273: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:33273: $? = 0
# configure:33273: ./conftest
# configure:33273: $? = 0
# configure:33275: result: yes
# configure:33294: checking if getifaddrs usage allowed
# configure:33297: result: yes
# configure:33307: checking if getifaddrs might be used
# configure:33314: result: yes
# configure:33336: checking if getservbyport_r can be linked
# configure:33365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:33365: $? = 0
# configure:33367: result: yes
# configure:33382: checking if getservbyport_r is prototyped
# configure:33393: result: yes
# configure:33410: checking if getservbyport_r takes 4 args.
# configure:33429: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:244:19: error: too few arguments to function 'getservbyport_r'
# if(0 != getservbyport_r(0, 0, 0, 0))
# ^~~~~~~~~~~~~~~
# In file included from conftest.c:237:0:
# /usr/include/netdb.h:318:12: note: declared here
# extern int getservbyport_r (int __port, const char *__restrict __proto,
# ^~~~~~~~~~~~~~~
# configure:33429: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != getservbyport_r(0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:33438: result: no
# configure:33446: checking if getservbyport_r takes 5 args.
# configure:33465: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:244:19: error: too few arguments to function 'getservbyport_r'
# if(0 != getservbyport_r(0, 0, 0, 0, 0))
# ^~~~~~~~~~~~~~~
# In file included from conftest.c:237:0:
# /usr/include/netdb.h:318:12: note: declared here
# extern int getservbyport_r (int __port, const char *__restrict __proto,
# ^~~~~~~~~~~~~~~
# configure:33465: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != getservbyport_r(0, 0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:33474: result: no
# configure:33482: checking if getservbyport_r takes 6 args.
# configure:33501: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:33501: $? = 0
# configure:33503: result: yes
# configure:33517: checking if getservbyport_r is compilable
# configure:33520: result: yes
# configure:33529: checking if getservbyport_r usage allowed
# configure:33532: result: yes
# configure:33542: checking if getservbyport_r might be used
# configure:33548: result: yes
# configure:33596: checking for sys/types.h
# configure:33596: result: yes
# configure:33596: checking for sys/time.h
# configure:33596: result: yes
# configure:33596: checking for time.h
# configure:33596: result: yes
# configure:33616: checking if gmtime_r can be linked
# configure:33645: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:33645: $? = 0
# configure:33647: result: yes
# configure:33662: checking if gmtime_r is prototyped
# configure:33673: result: yes
# configure:33689: checking if gmtime_r is compilable
# configure:33708: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:33708: $? = 0
# configure:33710: result: yes
# configure:33726: checking if gmtime_r seems to work
# configure:33758: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:33758: $? = 0
# configure:33758: ./conftest
# configure:33758: $? = 0
# configure:33760: result: yes
# configure:33779: checking if gmtime_r usage allowed
# configure:33782: result: yes
# configure:33792: checking if gmtime_r might be used
# configure:33799: result: yes
# configure:33836: checking for sys/types.h
# configure:33836: result: yes
# configure:33836: checking for sys/socket.h
# configure:33836: result: yes
# configure:33836: checking for netinet/in.h
# configure:33836: result: yes
# configure:33836: checking for arpa/inet.h
# configure:33836: result: yes
# configure:33856: checking if inet_ntoa_r can be linked
# configure:33885: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccUKg5i8.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `inet_ntoa_r'
# collect2: error: ld returned 1 exit status
# configure:33885: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | /* end confdefs.h. */
# |
# |
# | #define inet_ntoa_r innocuous_inet_ntoa_r
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef inet_ntoa_r
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char inet_ntoa_r ();
# | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return inet_ntoa_r ();
# | ;
# | return 0;
# | }
# |
# configure:33893: result: no
# configure:34028: checking if inet_ntoa_r might be used
# configure:34054: result: no
# configure:34067: checking if inet_ntop can be linked
# configure:34096: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:34096: $? = 0
# configure:34098: result: yes
# configure:34113: checking if inet_ntop is prototyped
# configure:34124: result: yes
# configure:34140: checking if inet_ntop is compilable
# configure:34159: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:34159: $? = 0
# configure:34161: result: yes
# configure:34177: checking if inet_ntop seems to work
# configure:34251: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c: In function 'main':
# conftest.c:298:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res));
# ^
# conftest.c:322:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res));
# ^
# configure:34251: $? = 0
# configure:34251: ./conftest
# configure:34251: $? = 0
# configure:34253: result: yes
# configure:34272: checking if inet_ntop usage allowed
# configure:34275: result: yes
# configure:34285: checking if inet_ntop might be used
# configure:34292: result: yes
# configure:34314: checking if inet_pton can be linked
# configure:34343: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:34343: $? = 0
# configure:34345: result: yes
# configure:34360: checking if inet_pton is prototyped
# configure:34371: result: yes
# configure:34387: checking if inet_pton is compilable
# configure:34406: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:34406: $? = 0
# configure:34408: result: yes
# configure:34424: checking if inet_pton seems to work
# configure:34491: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:34491: $? = 0
# configure:34491: ./conftest
# configure:34491: $? = 0
# configure:34493: result: yes
# configure:34512: checking if inet_pton usage allowed
# configure:34515: result: yes
# configure:34525: checking if inet_pton might be used
# configure:34532: result: yes
# configure:34568: checking for sys/types.h
# configure:34568: result: yes
# configure:34568: checking for unistd.h
# configure:34568: result: yes
# configure:34568: checking for sys/socket.h
# configure:34568: result: yes
# configure:34568: checking for sys/ioctl.h
# configure:34568: result: yes
# configure:34568: checking for stropts.h
# configure:34568: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:34568: $? = 0
# configure:34568: result: yes
# configure:34587: checking if ioctl can be linked
# configure:34616: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:34616: $? = 0
# configure:34618: result: yes
# configure:34633: checking if ioctl is prototyped
# configure:34644: result: yes
# configure:34660: checking if ioctl is compilable
# configure:34679: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:34679: $? = 0
# configure:34681: result: yes
# configure:34696: checking if ioctl usage allowed
# configure:34699: result: yes
# configure:34709: checking if ioctl might be used
# configure:34715: result: yes
# configure:34729: checking if ioctl FIONBIO is compilable
# configure:34749: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:34749: $? = 0
# configure:34751: result: yes
# configure:34766: checking if ioctl FIONBIO usage allowed
# configure:34769: result: yes
# configure:34779: checking if ioctl FIONBIO might be used
# configure:34783: result: yes
# configure:34803: checking if ioctl SIOCGIFADDR is compilable
# configure:34824: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:34824: $? = 0
# configure:34826: result: yes
# configure:34841: checking if ioctl SIOCGIFADDR usage allowed
# configure:34844: result: yes
# configure:34854: checking if ioctl SIOCGIFADDR might be used
# configure:34858: result: yes
# configure:34885: checking if ioctlsocket can be linked
# configure:34904: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c: In function 'main':
# conftest.c:272:15: warning: implicit declaration of function 'ioctlsocket' [-Wimplicit-function-declaration]
# if(0 != ioctlsocket(0, 0, 0))
# ^~~~~~~~~~~
# /tmp/ccBPYDzT.o: In function `main':
# conftest.c:(.text.startup+0xd): undefined reference to `ioctlsocket'
# collect2: error: ld returned 1 exit status
# configure:34904: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != ioctlsocket(0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:34912: result: no
# configure:34997: checking if ioctlsocket might be used
# configure:35086: result: no
# configure:35098: checking if IoctlSocket can be linked
# configure:35127: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccLMxi9I.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `IoctlSocket'
# collect2: error: ld returned 1 exit status
# configure:35127: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | /* end confdefs.h. */
# |
# |
# | #define IoctlSocket innocuous_IoctlSocket
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef IoctlSocket
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char IoctlSocket ();
# | #if defined __stub_IoctlSocket || defined __stub___IoctlSocket
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return IoctlSocket ();
# | ;
# | return 0;
# | }
# |
# configure:35135: result: no
# configure:35220: checking if IoctlSocket might be used
# configure:35309: result: no
# configure:35322: checking if localtime_r can be linked
# configure:35351: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:35351: $? = 0
# configure:35353: result: yes
# configure:35368: checking if localtime_r is prototyped
# configure:35379: result: yes
# configure:35395: checking if localtime_r is compilable
# configure:35414: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:35414: $? = 0
# configure:35416: result: yes
# configure:35432: checking if localtime_r seems to work
# configure:35464: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:35464: $? = 0
# configure:35464: ./conftest
# configure:35464: $? = 0
# configure:35466: result: yes
# configure:35485: checking if localtime_r usage allowed
# configure:35488: result: yes
# configure:35498: checking if localtime_r might be used
# configure:35505: result: yes
# configure:35527: checking if memrchr can be linked
# configure:35556: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:35556: $? = 0
# configure:35558: result: yes
# configure:35610: checking if memrchr is prototyped
# configure:35627: result: no
# configure:35687: checking if memrchr might be used
# configure:35702: result: no
# configure:35721: checking if poll can be linked
# configure:35740: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:35740: $? = 0
# configure:35742: result: yes
# configure:35757: checking if poll is prototyped
# configure:35768: result: yes
# configure:35784: checking if poll is compilable
# configure:35803: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:35803: $? = 0
# configure:35805: result: yes
# configure:35821: checking if poll seems to work
# configure:35849: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:35849: $? = 0
# configure:35849: ./conftest
# configure:35849: $? = 0
# configure:35851: result: yes
# configure:35870: checking if poll usage allowed
# configure:35873: result: yes
# configure:35883: checking if poll might be used
# configure:35890: result: yes
# configure:35916: checking if setsockopt can be linked
# configure:35936: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:35936: $? = 0
# configure:35938: result: yes
# configure:35953: checking if setsockopt is prototyped
# configure:35965: result: yes
# configure:35981: checking if setsockopt is compilable
# configure:36001: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:36001: $? = 0
# configure:36003: result: yes
# configure:36018: checking if setsockopt usage allowed
# configure:36021: result: yes
# configure:36031: checking if setsockopt might be used
# configure:36037: result: yes
# configure:36051: checking if setsockopt SO_NONBLOCK is compilable
# configure:36071: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c: In function 'main':
# conftest.c:284:43: error: 'SO_NONBLOCK' undeclared (first use in this function)
# if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
# ^~~~~~~~~~~
# conftest.c:284:43: note: each undeclared identifier is reported only once for each function it appears in
# configure:36071: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:36079: result: no
# configure:36101: checking if setsockopt SO_NONBLOCK might be used
# configure:36114: result: no
# configure:36138: checking for sys/types.h
# configure:36138: result: yes
# configure:36138: checking for signal.h
# configure:36138: result: yes
# configure:36157: checking if sigaction can be linked
# configure:36186: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:36186: $? = 0
# configure:36188: result: yes
# configure:36203: checking if sigaction is prototyped
# configure:36214: result: yes
# configure:36230: checking if sigaction is compilable
# configure:36249: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:36249: $? = 0
# configure:36251: result: yes
# configure:36266: checking if sigaction usage allowed
# configure:36269: result: yes
# configure:36279: checking if sigaction might be used
# configure:36285: result: yes
# configure:36306: checking if siginterrupt can be linked
# configure:36335: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:36335: $? = 0
# configure:36337: result: yes
# configure:36352: checking if siginterrupt is prototyped
# configure:36363: result: yes
# configure:36379: checking if siginterrupt is compilable
# configure:36398: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:36398: $? = 0
# configure:36400: result: yes
# configure:36415: checking if siginterrupt usage allowed
# configure:36418: result: yes
# configure:36428: checking if siginterrupt might be used
# configure:36434: result: yes
# configure:36455: checking if signal can be linked
# configure:36484: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:36484: $? = 0
# configure:36486: result: yes
# configure:36501: checking if signal is prototyped
# configure:36512: result: yes
# configure:36528: checking if signal is compilable
# configure:36547: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:36547: $? = 0
# configure:36549: result: yes
# configure:36564: checking if signal usage allowed
# configure:36567: result: yes
# configure:36577: checking if signal might be used
# configure:36583: result: yes
# configure:36610: checking for sys/types.h
# configure:36610: result: yes
# configure:36610: checking for setjmp.h
# configure:36610: result: yes
# configure:36630: checking if sigsetjmp can be linked
# configure:36659: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/cc30UzwN.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `sigsetjmp'
# collect2: error: ld returned 1 exit status
# configure:36659: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | /* end confdefs.h. */
# |
# |
# | #define sigsetjmp innocuous_sigsetjmp
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef sigsetjmp
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char sigsetjmp ();
# | #if defined __stub_sigsetjmp || defined __stub___sigsetjmp
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return sigsetjmp ();
# | ;
# | return 0;
# | }
# |
# configure:36667: result: no
# configure:36676: checking if sigsetjmp seems a macro
# configure:36696: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:36696: $? = 0
# configure:36698: result: yes
# configure:36742: checking if sigsetjmp is compilable
# configure:36762: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:36762: $? = 0
# configure:36764: result: yes
# configure:36779: checking if sigsetjmp usage allowed
# configure:36782: result: yes
# configure:36792: checking if sigsetjmp might be used
# configure:36798: result: yes
# configure:36819: checking if socket can be linked
# configure:36840: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:36840: $? = 0
# configure:36842: result: yes
# configure:36857: checking if socket is prototyped
# configure:36870: result: yes
# configure:36886: checking if socket is compilable
# configure:36907: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:36907: $? = 0
# configure:36909: result: yes
# configure:36924: checking if socket usage allowed
# configure:36927: result: yes
# configure:36937: checking if socket might be used
# configure:36943: result: yes
# configure:36964: checking if socketpair can be linked
# configure:36993: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:36993: $? = 0
# configure:36995: result: yes
# configure:37010: checking if socketpair is prototyped
# configure:37022: result: yes
# configure:37038: checking if socketpair is compilable
# configure:37059: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:37059: $? = 0
# configure:37061: result: yes
# configure:37076: checking if socketpair usage allowed
# configure:37079: result: yes
# configure:37089: checking if socketpair might be used
# configure:37095: result: yes
# configure:37116: checking if strcasecmp can be linked
# configure:37145: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:277:6: warning: conflicting types for built-in function 'strcasecmp'
# char strcasecmp ();
# ^~~~~~~~~~
# configure:37145: $? = 0
# configure:37147: result: yes
# configure:37162: checking if strcasecmp is prototyped
# configure:37173: result: yes
# configure:37189: checking if strcasecmp is compilable
# configure:37208: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:37208: $? = 0
# configure:37210: result: yes
# configure:37225: checking if strcasecmp usage allowed
# configure:37228: result: yes
# configure:37238: checking if strcasecmp might be used
# configure:37244: result: yes
# configure:37265: checking if strcmpi can be linked
# configure:37294: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccWvoq7e.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `strcmpi'
# collect2: error: ld returned 1 exit status
# configure:37294: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | /* end confdefs.h. */
# |
# |
# | #define strcmpi innocuous_strcmpi
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef strcmpi
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strcmpi ();
# | #if defined __stub_strcmpi || defined __stub___strcmpi
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return strcmpi ();
# | ;
# | return 0;
# | }
# |
# configure:37302: result: no
# configure:37387: checking if strcmpi might be used
# configure:37402: result: no
# configure:37414: checking if strdup can be linked
# configure:37443: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:278:6: warning: conflicting types for built-in function 'strdup'
# char strdup ();
# ^~~~~~
# configure:37443: $? = 0
# configure:37445: result: yes
# configure:37460: checking if strdup is prototyped
# configure:37471: result: yes
# configure:37487: checking if strdup is compilable
# configure:37506: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:37506: $? = 0
# configure:37508: result: yes
# configure:37523: checking if strdup usage allowed
# configure:37526: result: yes
# configure:37536: checking if strdup might be used
# configure:37542: result: yes
# configure:37569: checking if strerror_r can be linked
# configure:37598: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:37598: $? = 0
# configure:37600: result: yes
# configure:37615: checking if strerror_r is prototyped
# configure:37626: result: yes
# configure:37642: checking if strerror_r is compilable
# configure:37661: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:37661: $? = 0
# configure:37663: result: yes
# configure:37678: checking if strerror_r is glibc like
# configure:37701: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:280:19: error: conflicting types for 'strerror_r'
# char *strerror_r(int errnum, char *workbuf, size_t bufsize);
# ^~~~~~~~~~
# In file included from /usr/include/features.h:368:0,
# from /usr/include/sys/types.h:25,
# from conftest.c:271:
# /usr/include/string.h:422:12: note: previous declaration of 'strerror_r' was here
# extern int __REDIRECT_NTH (strerror_r,
# ^
# configure:37701: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STRING_H
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | /* includes end */
# | char *strerror_r(int errnum, char *workbuf, size_t bufsize);
# |
# | int main (void)
# | {
# |
# | if(0 != strerror_r(0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:37701: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:280:19: error: conflicting types for 'strerror_r'
# char *strerror_r(int errnum, char *workbuf, int bufsize);
# ^~~~~~~~~~
# In file included from /usr/include/features.h:368:0,
# from /usr/include/sys/types.h:25,
# from conftest.c:271:
# /usr/include/string.h:422:12: note: previous declaration of 'strerror_r' was here
# extern int __REDIRECT_NTH (strerror_r,
# ^
# configure:37701: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STRING_H
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | /* includes end */
# | char *strerror_r(int errnum, char *workbuf, int bufsize);
# |
# | int main (void)
# | {
# |
# | if(0 != strerror_r(0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:37701: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:280:19: error: conflicting types for 'strerror_r'
# char *strerror_r(int errnum, char *workbuf, unsigned int bufsize);
# ^~~~~~~~~~
# In file included from /usr/include/features.h:368:0,
# from /usr/include/sys/types.h:25,
# from conftest.c:271:
# /usr/include/string.h:422:12: note: previous declaration of 'strerror_r' was here
# extern int __REDIRECT_NTH (strerror_r,
# ^
# configure:37701: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STRING_H
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | /* includes end */
# | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize);
# |
# | int main (void)
# | {
# |
# | if(0 != strerror_r(0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:37711: result: no
# configure:37781: checking if strerror_r is POSIX like
# configure:37804: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:37804: $? = 0
# configure:37819: result: yes
# configure:37828: checking if strerror_r seems to work
# configure:37863: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:37863: $? = 0
# configure:37863: ./conftest
# configure:37863: $? = 0
# configure:37865: result: yes
# configure:37899: checking if strerror_r usage allowed
# configure:37902: result: yes
# configure:37912: checking if strerror_r might be used
# configure:37918: result: yes
# configure:37975: checking if stricmp can be linked
# configure:38004: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccqPY5xP.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `stricmp'
# collect2: error: ld returned 1 exit status
# configure:38004: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | /* end confdefs.h. */
# |
# |
# | #define stricmp innocuous_stricmp
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef stricmp
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char stricmp ();
# | #if defined __stub_stricmp || defined __stub___stricmp
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return stricmp ();
# | ;
# | return 0;
# | }
# |
# configure:38012: result: no
# configure:38097: checking if stricmp might be used
# configure:38112: result: no
# configure:38124: checking if strncasecmp can be linked
# configure:38153: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:282:6: warning: conflicting types for built-in function 'strncasecmp'
# char strncasecmp ();
# ^~~~~~~~~~~
# configure:38153: $? = 0
# configure:38155: result: yes
# configure:38170: checking if strncasecmp is prototyped
# configure:38181: result: yes
# configure:38197: checking if strncasecmp is compilable
# configure:38216: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:38216: $? = 0
# configure:38218: result: yes
# configure:38233: checking if strncasecmp usage allowed
# configure:38236: result: yes
# configure:38246: checking if strncasecmp might be used
# configure:38252: result: yes
# configure:38273: checking if strncmpi can be linked
# configure:38302: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccHGYaB4.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `strncmpi'
# collect2: error: ld returned 1 exit status
# configure:38302: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | /* end confdefs.h. */
# |
# |
# | #define strncmpi innocuous_strncmpi
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef strncmpi
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strncmpi ();
# | #if defined __stub_strncmpi || defined __stub___strncmpi
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return strncmpi ();
# | ;
# | return 0;
# | }
# |
# configure:38310: result: no
# configure:38395: checking if strncmpi might be used
# configure:38410: result: no
# configure:38422: checking if strnicmp can be linked
# configure:38451: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccEqpRja.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `strnicmp'
# collect2: error: ld returned 1 exit status
# configure:38451: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | /* end confdefs.h. */
# |
# |
# | #define strnicmp innocuous_strnicmp
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef strnicmp
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strnicmp ();
# | #if defined __stub_strnicmp || defined __stub___strnicmp
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return strnicmp ();
# | ;
# | return 0;
# | }
# |
# configure:38459: result: no
# configure:38544: checking if strnicmp might be used
# configure:38559: result: no
# configure:38571: checking if strstr can be linked
# configure:38600: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:283:6: warning: conflicting types for built-in function 'strstr'
# char strstr ();
# ^~~~~~
# configure:38600: $? = 0
# configure:38602: result: yes
# configure:38617: checking if strstr is prototyped
# configure:38628: result: yes
# configure:38644: checking if strstr is compilable
# configure:38663: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:38663: $? = 0
# configure:38665: result: yes
# configure:38680: checking if strstr usage allowed
# configure:38683: result: yes
# configure:38693: checking if strstr might be used
# configure:38699: result: yes
# configure:38720: checking if strtok_r can be linked
# configure:38749: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:38749: $? = 0
# configure:38751: result: yes
# configure:38766: checking if strtok_r is prototyped
# configure:38777: result: yes
# configure:38793: checking if strtok_r is compilable
# configure:38812: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:38812: $? = 0
# configure:38814: result: yes
# configure:38829: checking if strtok_r usage allowed
# configure:38832: result: yes
# configure:38842: checking if strtok_r might be used
# configure:38848: result: yes
# configure:38869: checking if strtoll can be linked
# configure:38898: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:38898: $? = 0
# configure:38900: result: yes
# configure:38915: checking if strtoll is prototyped
# configure:38926: result: yes
# configure:38942: checking if strtoll is compilable
# configure:38961: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:38961: $? = 0
# configure:38963: result: yes
# configure:38978: checking if strtoll usage allowed
# configure:38981: result: yes
# configure:38991: checking if strtoll might be used
# configure:38997: result: yes
# configure:39024: checking for sys/types.h
# configure:39024: result: yes
# configure:39024: checking for sys/uio.h
# configure:39024: result: yes
# configure:39043: checking if writev can be linked
# configure:39072: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39072: $? = 0
# configure:39074: result: yes
# configure:39089: checking if writev is prototyped
# configure:39100: result: yes
# configure:39116: checking if writev is compilable
# configure:39135: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:39135: $? = 0
# configure:39137: result: yes
# configure:39152: checking if writev usage allowed
# configure:39155: result: yes
# configure:39165: checking if writev might be used
# configure:39171: result: yes
# configure:39216: checking for fork
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:288:6: warning: conflicting types for built-in function 'fork'
# char fork ();
# ^~~~
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for geteuid
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getpass_r
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/ccBUhKK6.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `getpass_r'
# collect2: error: ld returned 1 exit status
# configure:39216: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | /* end confdefs.h. */
# |
# | #define getpass_r innocuous_getpass_r
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef getpass_r
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char getpass_r ();
# | #if defined __stub_getpass_r || defined __stub___getpass_r
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return getpass_r ();
# | ;
# | return 0;
# | }
# configure:39216: result: no
# configure:39228: checking deeper for getpass_r
# configure:39245: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c: In function 'main':
# conftest.c:285:9: warning: implicit declaration of function 'getpass_r' [-Wimplicit-function-declaration]
# getpass_r ();
# ^~~~~~~~~
# /tmp/ccGD2e0a.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `getpass_r'
# collect2: error: ld returned 1 exit status
# configure:39245: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | getpass_r ();
# |
# | ;
# | return 0;
# | }
# |
# configure:39258: result: but still no
# configure:39216: checking for getppid
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getprotobyname
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getpwuid
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getpwuid_r
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getrlimit
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for gettimeofday
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for if_nametoindex
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for inet_addr
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for perror
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for pipe
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for setlocale
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for setmode
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /tmp/cc7nCSpY.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `setmode'
# collect2: error: ld returned 1 exit status
# configure:39216: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | /* end confdefs.h. */
# |
# | #define setmode innocuous_setmode
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef setmode
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char setmode ();
# | #if defined __stub_setmode || defined __stub___setmode
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return setmode ();
# | ;
# | return 0;
# | }
# configure:39216: result: no
# configure:39228: checking deeper for setmode
# configure:39245: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c: In function 'main':
# conftest.c:296:9: warning: implicit declaration of function 'setmode' [-Wimplicit-function-declaration]
# setmode ();
# ^~~~~~~
# /tmp/cc7KTIQZ.o: In function `main':
# conftest.c:(.text.startup+0x7): undefined reference to `setmode'
# collect2: error: ld returned 1 exit status
# configure:39245: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | setmode ();
# |
# | ;
# | return 0;
# | }
# |
# configure:39258: result: but still no
# configure:39216: checking for setrlimit
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for uname
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for utime
# configure:39216: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39274: checking for sys/types.h
# configure:39274: result: yes
# configure:39274: checking for sys/socket.h
# configure:39274: result: yes
# configure:39274: checking for netdb.h
# configure:39274: result: yes
# configure:39285: checking for getnameinfo
# configure:39314: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:39314: $? = 0
# configure:39316: result: yes
# configure:39424: checking types of arguments for getnameinfo
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:328:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c:329:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:336:21: error: unknown type name 'DWORD'
# DWORD hostlen=0;
# ^~~~~
# conftest.c:337:21: error: unknown type name 'DWORD'
# DWORD servlen=0;
# ^~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, DWORD,
# | char *, DWORD,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:328:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c:329:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:336:21: error: unknown type name 'DWORD'
# DWORD hostlen=0;
# ^~~~~
# conftest.c:337:21: error: unknown type name 'DWORD'
# DWORD servlen=0;
# ^~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, DWORD,
# | char *, DWORD,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:328:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c:329:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:336:21: error: unknown type name 'DWORD'
# DWORD hostlen=0;
# ^~~~~
# conftest.c:337:21: error: unknown type name 'DWORD'
# DWORD servlen=0;
# ^~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, DWORD,
# | char *, DWORD,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:328:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c:329:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:336:21: error: unknown type name 'DWORD'
# DWORD hostlen=0;
# ^~~~~
# conftest.c:337:21: error: unknown type name 'DWORD'
# DWORD servlen=0;
# ^~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, DWORD,
# | char *, DWORD,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, socklen_t,
# | char *, socklen_t,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, socklen_t,
# | char *, socklen_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, unsigned int,
# | char *, unsigned int,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, unsigned int,
# | char *, unsigned int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:328:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c:329:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:336:21: error: unknown type name 'DWORD'
# DWORD hostlen=0;
# ^~~~~
# conftest.c:337:21: error: unknown type name 'DWORD'
# DWORD servlen=0;
# ^~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, DWORD,
# | char *, DWORD,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:328:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c:329:52: error: unknown type name 'DWORD'
# char *, DWORD,
# ^~~~~
# conftest.c: In function 'main':
# conftest.c:336:21: error: unknown type name 'DWORD'
# DWORD hostlen=0;
# ^~~~~
# conftest.c:337:21: error: unknown type name 'DWORD'
# DWORD servlen=0;
# ^~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, DWORD,
# | char *, DWORD,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# conftest.c:327:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^~~~~~~~~~~
# In file included from conftest.c:323:0:
# /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^~~~~~~~~~~
# configure:39488: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:39488: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:39488: $? = 0
# configure:39501: result: const struct sockaddr *,socklen_t,socklen_t,int
# configure:39595: checking for stdio.h
# configure:39595: result: yes
# configure:39595: checking for sys/types.h
# configure:39595: result: yes
# configure:39595: checking for sys/socket.h
# configure:39595: result: yes
# configure:39595: checking for netdb.h
# configure:39595: result: yes
# configure:39595: checking for netinet/in.h
# configure:39595: result: yes
# configure:39595: checking for arpa/inet.h
# configure:39595: result: yes
# configure:39606: checking for working NI_WITHSCOPEID
# configure:39711: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# conftest.c:369:3: error: stray '#' in program
# } # AC-LANG-PROGRAM
# ^
# conftest.c:369:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
# } # AC-LANG-PROGRAM
# ^
# configure:39711: $? = 1
# configure: program exited with status 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | #define GETNAMEINFO_TYPE_ARG2 socklen_t
# | #define GETNAMEINFO_TYPE_ARG46 socklen_t
# | #define GETNAMEINFO_TYPE_ARG7 int
# | #define GETNAMEINFO_QUAL_ARG1 const
# | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
# | #define HAVE_GETNAMEINFO 1
# | #define ENABLE_IPV6 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | /* end confdefs.h. */
# |
# |
# | #ifdef HAVE_STDLIB_H
# | #include
# | #endif
# | #ifdef HAVE_STDIO_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_ARPA_INET_H
# | #include
# | #endif
# |
# | int main (void)
# | {
# |
# | #if defined(NI_WITHSCOPEID) && defined(HAVE_GETNAMEINFO)
# | #ifdef HAVE_STRUCT_SOCKADDR_STORAGE
# | struct sockaddr_storage sa;
# | #else
# | unsigned char sa[256];
# | #endif
# | char hostbuf[NI_MAXHOST];
# | int rc;
# | GETNAMEINFO_TYPE_ARG2 salen = (GETNAMEINFO_TYPE_ARG2)sizeof(sa);
# | GETNAMEINFO_TYPE_ARG46 hostlen = (GETNAMEINFO_TYPE_ARG46)sizeof(hostbuf);
# | GETNAMEINFO_TYPE_ARG7 flags = NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID;
# | int fd = socket(AF_INET6, SOCK_STREAM, 0);
# | if(fd < 0) {
# | perror("socket()");
# | return 1; /* Error creating socket */
# | }
# | rc = getsockname(fd, (GETNAMEINFO_TYPE_ARG1)&sa, &salen);
# | if(rc) {
# | perror("getsockname()");
# | return 2; /* Error retrieving socket name */
# | }
# | rc = getnameinfo((GETNAMEINFO_TYPE_ARG1)&sa, salen, hostbuf, hostlen, NULL, 0, flags);
# | if(rc) {
# | printf("rc = %s\n", gai_strerror(rc));
# | return 3; /* Error translating socket address */
# | }
# | return 0; /* Ok, NI_WITHSCOPEID works */
# | #else
# | return 4; /* Error, NI_WITHSCOPEID not defined or no getnameinfo() */
# | #endif
# |
# | ;
# | return 0;
# | } # AC-LANG-PROGRAM
# |
# configure:39728: result: no
# configure:39744: checking how to set a socket into non-blocking mode
# configure:39757: result: fcntl O_NONBLOCK
# configure:39768: checking for perl
# configure:39787: found /usr/sbin/perl
# configure:39799: result: /usr/sbin/perl
# configure:39813: checking for gnroff
# configure:39847: result: no
# configure:39813: checking for nroff
# configure:39832: found /usr/sbin/nroff
# configure:39844: result: /usr/sbin/nroff
# configure:39859: checking how to use *nroff to get plain text from man pages
# configure:39877: result: -man
# configure:40024: checking whether to enable the threaded resolver
# configure:40040: result: yes
# configure:40049: checking pthread.h usability
# configure:40049: gcc -c -O2 -Wno-system-headers conftest.c >&5
# configure:40049: $? = 0
# configure:40049: result: yes
# configure:40049: checking pthread.h presence
# configure:40049: gcc -E conftest.c
# configure:40049: $? = 0
# configure:40049: result: yes
# configure:40049: checking for pthread.h
# configure:40049: result: yes
# configure:40056: checking for pthread_create
# configure:40056: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# /usr/sbin/ld: /tmp/ccGaFckA.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
# /usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line
# collect2: error: ld returned 1 exit status
# configure:40056: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_LIBZ 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_WRITABLE_ARGV 1
# | #define HAVE_GSSAPI_GSSAPI_H 1
# | #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# | #define HAVE_GSSMIT 1
# | #define HAVE_GSSAPI 1
# | #define HAVE_LIBSSL 1
# | #define HAVE_OPENSSL_X509_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_RSA_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_CRYPTO_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PEM_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_SSL_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_ERR_H 1
# | #define USE_OPENSSL 1
# | #define HAVE_OPENSSL_PKCS12_H 1
# | #define HAVE_OPENSSL_ENGINE_H 1
# | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# | #define HAVE_RAND_STATUS 1
# | #define HAVE_RAND_EGD 1
# | #define HAVE_ENGINE_CLEANUP 1
# | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# | #define HAVE_SSL_GET_SHUTDOWN 1
# | #define HAVE_SSLV2_CLIENT_METHOD 1
# | #define RANDOM_FILE "/dev/urandom"
# | #define HAVE_OPENSSL_SRP 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #define HAVE_LIBSSH2 1
# | #define HAVE_LIBSSH2_H 1
# | #define USE_LIBSSH2 1
# | #define HAVE_LIBIDN 1
# | #define HAVE_IDN_FREE 1
# | #define HAVE_IDNA_STRERROR 1
# | #define HAVE_TLD_STRERROR 1
# | #define HAVE_IDN_FREE_H 1
# | #define HAVE_TLD_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_SYS_UN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_TERMIOS_H 1
# | #define HAVE_TERMIO_H 1
# | #define HAVE_SGTTY_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_PWD_H 1
# | #define HAVE_UTIME_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_LOCALE_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_ARPA_TFTP_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_VARIADIC_MACROS_C99 1
# | #define HAVE_VARIADIC_MACROS_GCC 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CURL_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define SIZEOF_OFF_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CURL_PULL_SYS_TYPES_H 1
# | #define CURL_PULL_SYS_SOCKET_H 1
# | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# | #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_POLL_H 1
# | #define HAVE_SYS_POLL_H 1
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 fd_set *
# | #define SELECT_TYPE_RETV int
# | #define SELECT_QUAL_ARG5
# | #define SELECT_TYPE_ARG5 struct timeval *
# | #define HAVE_SELECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALARM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_LIBGEN_H 1
# | #define HAVE_BASENAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_FDOPEN 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_IFADDRS_H 1
# | #define HAVE_FREEIFADDRS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_XATTR_H 1
# | #define HAVE_FSETXATTR 1
# | #define HAVE_FSETXATTR_5 1
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GAI_STRERROR 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYADDR_R 1
# | #define HAVE_GETHOSTBYADDR_R_8 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_GETHOSTBYNAME_R 1
# | #define HAVE_GETHOSTBYNAME_R_6 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETIFADDRS 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_GMTIME_R 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_LOCALTIME_R 1
# | #define HAVE_POLL 1
# | #define HAVE_POLL_FINE 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGINTERRUPT 1
# | #define HAVE_SIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SOCKET 1
# | #define HAVE_SOCKETPAIR 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRERROR_R 1
# | #define HAVE_POSIX_STRERROR_R 1
# | #define STRERROR_R_TYPE_ARG3 size_t
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_STRSTR 1
# | #define HAVE_STRTOK_R 1
# | #define HAVE_STRTOLL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_FORK 1
# | #define HAVE_GETEUID 1
# | #define HAVE_GETPPID 1
# | #define HAVE_GETPROTOBYNAME 1
# | #define HAVE_GETPWUID 1
# | #define HAVE_GETPWUID_R 1
# | #define HAVE_GETRLIMIT 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_NAMETOINDEX 1
# | #define HAVE_INET_ADDR 1
# | #define HAVE_PERROR 1
# | #define HAVE_PIPE 1
# | #define HAVE_SETLOCALE 1
# | #define HAVE_SETRLIMIT 1
# | #define HAVE_UNAME 1
# | #define HAVE_UTIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | #define GETNAMEINFO_TYPE_ARG2 socklen_t
# | #define GETNAMEINFO_TYPE_ARG46 socklen_t
# | #define GETNAMEINFO_TYPE_ARG7 int
# | #define GETNAMEINFO_QUAL_ARG1 const
# | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
# | #define HAVE_GETNAMEINFO 1
# | #define ENABLE_IPV6 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define USE_MANUAL 1
# | #define HAVE_PTHREAD_H 1
# | /* end confdefs.h. */
# |
# | #define pthread_create innocuous_pthread_create
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef pthread_create
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char pthread_create ();
# | #if defined __stub_pthread_create || defined __stub___pthread_create
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return pthread_create ();
# | ;
# | return 0;
# | }
# configure:40056: result: no
# configure:40065: checking for pthread_create in -lpthread
# configure:40087: gcc -o conftest -O2 -Wno-system-headers -pthread conftest.c -lpthread -lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz >&5
# configure:40087: $? = 0
# configure:40096: result: yes
# configure:40121: checking whether to enable verbose strings
# configure:40139: result: yes
# configure:40145: checking whether to enable SSPI support (Windows native builds only)
# configure:40184: result: no
# configure:40191: checking whether to enable cryptographic authentication methods
# configure:40209: result: yes
# configure:40240: checking whether to enable NTLM delegation to winbind's helper
# configure:40247: result: yes
# configure:40262: checking whether to enable TLS-SRP authentication
# configure:40281: result: yes
# configure:40296: checking whether to enable Unix domain sockets
# configure:40312: result: auto
# configure:40320: checking for struct sockaddr_un.sun_path
# configure:40320: gcc -c -O2 -Wno-system-headers -pthread conftest.c >&5
# configure:40320: $? = 0
# configure:40320: result: yes
# configure:40343: checking whether to enable support for cookies
# configure:40360: result: yes
# configure:40367: checking whether hiding of library internal symbols will actually happen
# configure:40381: result: yes
# configure:40399: checking whether to enforce SONAME bump
# configure:40414: result: no
# configure:40900: checking that generated files are newer than configure
# configure:40906: result: done
# configure:40997: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by curl config.status -, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 361a31743500
#
# config.status:1517: creating Makefile
# config.status:1517: creating docs/Makefile
# config.status:1517: creating docs/examples/Makefile
# config.status:1517: creating docs/libcurl/Makefile
# config.status:1517: creating docs/libcurl/opts/Makefile
# config.status:1517: creating include/Makefile
# config.status:1517: creating include/curl/Makefile
# config.status:1517: creating src/Makefile
# config.status:1517: creating lib/Makefile
# config.status:1517: creating scripts/Makefile
# config.status:1517: creating lib/libcurl.vers
# config.status:1517: creating tests/Makefile
# config.status:1517: creating tests/certs/Makefile
# config.status:1517: creating tests/certs/scripts/Makefile
# config.status:1517: creating tests/data/Makefile
# config.status:1517: creating tests/server/Makefile
# config.status:1517: creating tests/libtest/Makefile
# config.status:1517: creating tests/unit/Makefile
# config.status:1517: creating packages/Makefile
# config.status:1517: creating packages/Win32/Makefile
# config.status:1517: creating packages/Win32/cygwin/Makefile
# config.status:1517: creating packages/Linux/Makefile
# config.status:1517: creating packages/Linux/RPM/Makefile
# config.status:1517: creating packages/Linux/RPM/curl.spec
# config.status:1517: creating packages/Linux/RPM/curl-ssl.spec
# config.status:1517: creating packages/Solaris/Makefile
# config.status:1517: creating packages/EPM/curl.list
# config.status:1517: creating packages/EPM/Makefile
# config.status:1517: creating packages/vms/Makefile
# config.status:1517: creating packages/AIX/Makefile
# config.status:1517: creating packages/AIX/RPM/Makefile
# config.status:1517: creating packages/AIX/RPM/curl.spec
# config.status:1517: creating curl-config
# config.status:1517: creating libcurl.pc
# config.status:1517: creating lib/curl_config.h
# config.status:1517: creating include/curl/curlbuild.h
# config.status:1746: executing depfiles commands
# config.status:1746: executing libtool commands
# configure:43372: amending lib/Makefile
# configure:43372: amending src/Makefile
# configure:43372: amending tests/unit/Makefile
# configure:43372: amending tests/server/Makefile
# configure:43372: amending tests/libtest/Makefile
# configure:43372: amending docs/examples/Makefile
# configure:43485: Configured to build curl/libcurl:
#
# curl version: 7.49.1
# Host setup: x86_64-unknown-linux-gnu
# Install prefix: /usr
# Compiler: gcc
# SSL support: enabled (OpenSSL)
# SSH support: enabled (libSSH2)
# zlib support: enabled
# GSS-API support: enabled (MIT Kerberos/Heimdal)
# TLS-SRP support: enabled
# resolver: POSIX threaded
# IPv6 support: enabled
# Unix sockets support: enabled
# IDN support: enabled
# Build libcurl: Shared=yes, Static=yes
# Built-in manual: enabled
# --libcurl option: enabled (--disable-libcurl-option)
# Verbose errors: enabled (--disable-verbose)
# SSPI support: no (--enable-sspi)
# ca cert bundle: /etc/ssl/certs/ca-certificates.crt
# ca cert path: no
# ca fallback: no
# LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
# LDAPS support: no (--enable-ldaps)
# RTSP support: enabled
# RTMP support: no (--with-librtmp)
# metalink support: no (--with-libmetalink)
# PSL support: no (libpsl not found)
# HTTP2 support: disabled (--with-nghttp2)
# Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP
#
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-pc-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_c_inline=inline
# ac_cv_env_CC_set=
# ac_cv_env_CC_value=
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=' '
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_CRYPTO_cleanup_all_ex_data=yes
# ac_cv_func_ENGINE_cleanup=yes
# ac_cv_func_ENGINE_init=yes
# ac_cv_func_ENGINE_load_builtin_engines=yes
# ac_cv_func_RAND_egd=yes
# ac_cv_func_RAND_screen=no
# ac_cv_func_RAND_status=yes
# ac_cv_func_SSL_get_shutdown=yes
# ac_cv_func_SSLv2_client_method=yes
# ac_cv_func_fork=yes
# ac_cv_func_geteuid=yes
# ac_cv_func_gethostbyname=yes
# ac_cv_func_getpass_r=no
# ac_cv_func_getppid=yes
# ac_cv_func_getprotobyname=yes
# ac_cv_func_getpwuid=yes
# ac_cv_func_getpwuid_r=yes
# ac_cv_func_getrlimit=yes
# ac_cv_func_gettimeofday=yes
# ac_cv_func_idn_free=yes
# ac_cv_func_idna_strerror=yes
# ac_cv_func_if_nametoindex=yes
# ac_cv_func_inet_addr=yes
# ac_cv_func_perror=yes
# ac_cv_func_pipe=yes
# ac_cv_func_pthread_create=no
# ac_cv_func_setlocale=yes
# ac_cv_func_setmode=no
# ac_cv_func_setrlimit=yes
# ac_cv_func_tld_strerror=yes
# ac_cv_func_uname=yes
# ac_cv_func_utime=yes
# ac_cv_header_alloca_h=yes
# ac_cv_header_arpa_inet_h=yes
# ac_cv_header_arpa_tftp_h=yes
# ac_cv_header_assert_h=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_errno_h=yes
# ac_cv_header_fcntl_h=yes
# ac_cv_header_gss_h=no
# ac_cv_header_gssapi_gssapi_generic_h=yes
# ac_cv_header_gssapi_gssapi_h=yes
# ac_cv_header_gssapi_gssapi_krb5_h=yes
# ac_cv_header_idn_free_h=yes
# ac_cv_header_ifaddrs_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_io_h=no
# ac_cv_header_libgen_h=yes
# ac_cv_header_libssh2_h=yes
# ac_cv_header_limits_h=yes
# ac_cv_header_locale_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_net_if_h=yes
# ac_cv_header_netdb_h=yes
# ac_cv_header_netinet_in_h=yes
# ac_cv_header_netinet_tcp_h=yes
# ac_cv_header_openssl_crypto_h=yes
# ac_cv_header_openssl_engine_h=yes
# ac_cv_header_openssl_err_h=yes
# ac_cv_header_openssl_pem_h=yes
# ac_cv_header_openssl_pkcs12_h=yes
# ac_cv_header_openssl_rsa_h=yes
# ac_cv_header_openssl_ssl_h=yes
# ac_cv_header_openssl_x509_h=yes
# ac_cv_header_poll_h=yes
# ac_cv_header_pthread_h=yes
# ac_cv_header_pwd_h=yes
# ac_cv_header_setjmp_h=yes
# ac_cv_header_sgtty_h=yes
# ac_cv_header_signal_h=yes
# ac_cv_header_socket_h=no
# ac_cv_header_stdbool_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdio_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_stropts_h=yes
# ac_cv_header_sys_filio_h=no
# ac_cv_header_sys_ioctl_h=yes
# ac_cv_header_sys_param_h=yes
# ac_cv_header_sys_poll_h=yes
# ac_cv_header_sys_resource_h=yes
# ac_cv_header_sys_select_h=yes
# ac_cv_header_sys_socket_h=yes
# ac_cv_header_sys_sockio_h=no
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_sys_uio_h=yes
# ac_cv_header_sys_un_h=yes
# ac_cv_header_sys_utime_h=no
# ac_cv_header_sys_wait_h=yes
# ac_cv_header_sys_xattr_h=yes
# ac_cv_header_termio_h=yes
# ac_cv_header_termios_h=yes
# ac_cv_header_time=yes
# ac_cv_header_time_h=yes
# ac_cv_header_tld_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_utime_h=yes
# ac_cv_header_zlib_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_crypto_HMAC_Update=yes
# ac_cv_lib_crypto_SRP_Calc_client_key=yes
# ac_cv_lib_pthread_pthread_create=yes
# ac_cv_lib_rtmp_RTMP_Init=no
# ac_cv_lib_ssh2_libssh2_channel_open_ex=yes
# ac_cv_lib_ssl_SSL_connect=yes
# ac_cv_lib_z_inflateEnd=yes
# ac_cv_member_struct_sockaddr_un_sun_path=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_NROFF=/usr/sbin/nroff
# ac_cv_path_PERL=/usr/sbin/perl
# ac_cv_path_PKGCONFIG=/usr/sbin/pkg-config
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_ac_pt_AR=/usr/sbin/ar
# ac_cv_path_ac_pt_PKGCONFIG=/usr/sbin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/sbin/dd
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AR=/usr/sbin/ar
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CPP='gcc -E'
# ac_cv_prog_ac_ct_CC=gcc
# ac_cv_prog_ac_ct_DUMPBIN='link -dump'
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_search_psl_builtin=no
# ac_cv_sizeof_int=4
# ac_cv_sizeof_long=8
# ac_cv_sizeof_off_t=8
# ac_cv_sizeof_short=2
# ac_cv_sizeof_size_t=8
# ac_cv_sizeof_time_t=8
# ac_cv_sizeof_voidp=8
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
# ac_cv_type_bool=yes
# ac_cv_type_in_addr_t=yes
# ac_cv_type_long_long=yes
# ac_cv_type_sig_atomic_t=yes
# ac_cv_type_signal=void
# ac_cv_type_size_t=yes
# ac_cv_type_ssize_t=yes
# ac_cv_type_struct_sockaddr_storage=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# curl_cv_def_OPENSSL_VERSION_NUMBER=0x1000208fL
# curl_cv_def___GNUC__=6
# curl_cv_func_alarm=yes
# curl_cv_func_basename=yes
# curl_cv_func_closesocket=no
# curl_cv_func_closesocket_camel=no
# curl_cv_func_connect=yes
# curl_cv_func_fcntl=yes
# curl_cv_func_fcntl_o_nonblock=yes
# curl_cv_func_fdopen=yes
# curl_cv_func_freeaddrinfo=yes
# curl_cv_func_freeifaddrs=yes
# curl_cv_func_fsetxattr=yes
# curl_cv_func_ftruncate=yes
# curl_cv_func_gai_strerror=yes
# curl_cv_func_getaddrinfo=yes
# curl_cv_func_getaddrinfo_threadsafe=yes
# curl_cv_func_gethostbyaddr=yes
# curl_cv_func_gethostbyaddr_r=yes
# curl_cv_func_gethostbyname=yes
# curl_cv_func_gethostbyname_r=yes
# curl_cv_func_gethostname=yes
# curl_cv_func_getifaddrs=yes
# curl_cv_func_getnameinfo=yes
# curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,int'
# curl_cv_func_getservbyport_r=yes
# curl_cv_func_gmtime_r=yes
# curl_cv_func_inet_ntoa_r=no
# curl_cv_func_inet_ntop=yes
# curl_cv_func_inet_pton=yes
# curl_cv_func_ioctl=yes
# curl_cv_func_ioctl_fionbio=yes
# curl_cv_func_ioctl_siocgifaddr=yes
# curl_cv_func_ioctlsocket=no
# curl_cv_func_ioctlsocket_camel=no
# curl_cv_func_localtime_r=yes
# curl_cv_func_memrchr=no
# curl_cv_func_poll=yes
# curl_cv_func_recv=yes
# curl_cv_func_recv_args='int,void *,size_t,int,ssize_t'
# curl_cv_func_select=yes
# curl_cv_func_select_args='int,fd_set *,struct timeval *,int'
# curl_cv_func_send=yes
# curl_cv_func_send_args='int,const void *,size_t,int,ssize_t'
# curl_cv_func_setsockopt=yes
# curl_cv_func_setsockopt_so_nonblock=no
# curl_cv_func_sigaction=yes
# curl_cv_func_siginterrupt=yes
# curl_cv_func_signal=yes
# curl_cv_func_sigsetjmp=yes
# curl_cv_func_socket=yes
# curl_cv_func_socketpair=yes
# curl_cv_func_strcasecmp=yes
# curl_cv_func_strcmpi=no
# curl_cv_func_strdup=yes
# curl_cv_func_strerror_r=yes
# curl_cv_func_stricmp=no
# curl_cv_func_strncasecmp=yes
# curl_cv_func_strncmpi=no
# curl_cv_func_strnicmp=no
# curl_cv_func_strstr=yes
# curl_cv_func_strtok_r=yes
# curl_cv_func_strtoll=yes
# curl_cv_func_writev=yes
# curl_cv_gclk_LIBS=
# curl_cv_getnameinfo=yes
# curl_cv_have_def_OPENSSL_VERSION_NUMBER=yes
# curl_cv_have_def__COMPILER_VERSION=no
# curl_cv_have_def__SGI_COMPILER_VERSION=no
# curl_cv_have_def__WIN32=no
# curl_cv_have_def___DECC=no
# curl_cv_have_def___DECC_VER=no
# curl_cv_have_def___GNUC__=yes
# curl_cv_have_def___HP_cc=no
# curl_cv_have_def___IBMC__=no
# curl_cv_have_def___INTEL_COMPILER=no
# curl_cv_have_def___LCC__=no
# curl_cv_have_def___SUNPRO_C=no
# curl_cv_have_def___TINYC__=no
# curl_cv_have_def___WATCOMC__=no
# curl_cv_have_def___clang__=no
# curl_cv_have_def___sgi=no
# curl_cv_have_def_h_errno=yes
# curl_cv_header_malloc_h=yes
# curl_cv_header_memory_h=yes
# curl_cv_header_winber_h=no
# curl_cv_header_windows_h=no
# curl_cv_header_winldap_h=no
# curl_cv_header_winsock2_h=no
# curl_cv_header_winsock_h=no
# curl_cv_header_ws2tcpip_h=no
# curl_cv_msg_nosignal=yes
# curl_cv_native_windows=no
# curl_cv_need_header_malloc_h=no
# curl_cv_need_header_memory_h=no
# curl_cv_recv=yes
# curl_cv_save_LIBS=
# curl_cv_select=yes
# curl_cv_send=yes
# curl_cv_sig_atomic_t_volatile=no
# curl_cv_struct_timeval=yes
# curl_cv_variadic_macros_c99=yes
# curl_cv_variadic_macros_gcc=yes
# curl_cv_working_ni_withscopeid=no
# curl_cv_writable_argv=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/usr/sbin/ld
# lt_cv_path_NM=no
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=no
# lt_cv_prog_compiler_static_works=yes
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=no
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_global_symbol_to_import=
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
# lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/curl/src/curl-7.49.1/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AR='/usr/sbin/ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/curl/src/curl-7.49.1/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/curl/src/curl-7.49.1/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/curl/src/curl-7.49.1/missing automake-1.15'
# AWK='gawk'
# BLANK_AT_MAKETIME=''
# BUILD_LIBHOSTNAME_FALSE='#'
# BUILD_LIBHOSTNAME_TRUE=''
# BUILD_UNITTESTS_FALSE=''
# BUILD_UNITTESTS_TRUE='#'
# CC='gcc'
# CCDEPMODE='depmode=gcc3'
# CFLAGS='-O2 -Wno-system-headers -pthread'
# CFLAG_CURL_SYMBOL_HIDING='-fvisibility=hidden'
# CONFIGURE_OPTIONS='" '\''--host=x86_64-unknown-linux'\'' '\''--prefix=/usr'\'' '\''--mandir=/usr/share/man'\'' '\''--disable-ldap'\'' '\''--disable-ldaps'\'' '\''--enable-ipv6'\'' '\''--enable-manual'\'' '\''--enable-versioned-symbols'\'' '\''--enable-threaded-resolver'\'' '\''--with-gssapi'\'' '\''--with-libidn'\'' '\''--with-random=/dev/urandom'\'' '\''--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt'\'' '\''host_alias=x86_64-unknown-linux'\'' '\''CFLAGS= '\'' '\''LDFLAGS='\'' '\''CPPFLAGS='\''"'
# CPP='gcc -E'
# CPPFLAGS=''
# CPPFLAG_CURL_STATICLIB=''
# CROSSCOMPILING_FALSE=''
# CROSSCOMPILING_TRUE='#'
# CURLDEBUG_FALSE=''
# CURLDEBUG_TRUE='#'
# CURLVERSION='7.49.1'
# CURL_CA_BUNDLE='"/etc/ssl/certs/ca-certificates.crt"'
# CURL_CFLAG_EXTRAS=''
# CURL_DISABLE_DICT=''
# CURL_DISABLE_FILE=''
# CURL_DISABLE_FTP=''
# CURL_DISABLE_GOPHER=''
# CURL_DISABLE_HTTP=''
# CURL_DISABLE_IMAP=''
# CURL_DISABLE_LDAP='1'
# CURL_DISABLE_LDAPS='1'
# CURL_DISABLE_POP3=''
# CURL_DISABLE_PROXY=''
# CURL_DISABLE_RTSP=''
# CURL_DISABLE_SMB=''
# CURL_DISABLE_SMTP=''
# CURL_DISABLE_TELNET=''
# CURL_DISABLE_TFTP=''
# CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=''
# CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
# CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE=''
# CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
# CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE='#'
# CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE=''
# CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#'
# CURL_LT_SHLIB_USE_VERSION_INFO_TRUE=''
# CURL_LT_SHLIB_VERSIONED_FLAVOUR='OPENSSL_'
# CURL_NETWORK_AND_TIME_LIBS=''
# CURL_NETWORK_LIBS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# DLLTOOL='false'
# DOING_CURL_SYMBOL_HIDING_FALSE='#'
# DOING_CURL_SYMBOL_HIDING_TRUE=''
# DOING_NATIVE_WINDOWS_FALSE=''
# DOING_NATIVE_WINDOWS_TRUE='#'
# DSYMUTIL=''
# DUMPBIN=':'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# ENABLE_SHARED='yes'
# ENABLE_STATIC='yes'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# HAVE_GNUTLS_SRP=''
# HAVE_LDAP_SSL=''
# HAVE_LIBZ='1'
# HAVE_LIBZ_FALSE='#'
# HAVE_LIBZ_TRUE=''
# HAVE_OPENSSL_SRP='1'
# IDN_ENABLED='1'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# IPV6_ENABLED='1'
# LD='/usr/sbin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBCURL_LIBS='-lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz'
# LIBMETALINK_CPPFLAGS=''
# LIBMETALINK_LDFLAGS=''
# LIBMETALINK_LIBS=''
# LIBOBJS=''
# LIBS='-lidn -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz'
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/curl/src/curl-7.49.1/missing makeinfo'
# MANIFEST_TOOL=':'
# MANOPT='-man'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='nm'
# NMEDIT=''
# NROFF='/usr/sbin/nroff'
# NSS_LIBS=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='curl'
# PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.haxx.se/mail/'
# PACKAGE_NAME='curl'
# PACKAGE_STRING='curl -'
# PACKAGE_TARNAME='curl'
# PACKAGE_URL=''
# PACKAGE_VERSION='-'
# PATH_SEPARATOR=':'
# PERL='/usr/sbin/perl'
# PKGADD_NAME='cURL - a client that groks URLs'
# PKGADD_PKG='HAXXcurl'
# PKGADD_VENDOR='curl.haxx.se'
# PKGCONFIG='no'
# RANDOM_FILE='/dev/urandom'
# RANLIB='ranlib'
# REQUIRE_LIB_DEPS='no'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# SONAME_BUMP_FALSE=''
# SONAME_BUMP_TRUE='#'
# SSL_ENABLED='1'
# SSL_LIBS='-lssl -lcrypto'
# STRIP='strip'
# SUPPORT_FEATURES='SSL IPv6 UnixSockets libz AsynchDNS IDN GSS-API SPNEGO Kerberos NTLM NTLM_WB TLS-SRP'
# SUPPORT_PROTOCOLS='DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP'
# USE_ARES=''
# USE_AXTLS=''
# USE_CPPFLAG_CURL_STATICLIB_FALSE=''
# USE_CPPFLAG_CURL_STATICLIB_TRUE='#'
# USE_CYASSL=''
# USE_DARWINSSL=''
# USE_EMBEDDED_ARES_FALSE=''
# USE_EMBEDDED_ARES_TRUE='#'
# USE_EXPLICIT_LIB_DEPS_FALSE=''
# USE_EXPLICIT_LIB_DEPS_TRUE='#'
# USE_GNUTLS=''
# USE_GNUTLS_NETTLE=''
# USE_LIBPSL_FALSE=''
# USE_LIBPSL_TRUE='#'
# USE_LIBRTMP=''
# USE_LIBSSH2='1'
# USE_MANUAL_FALSE='#'
# USE_MANUAL_TRUE=''
# USE_MBEDTLS=''
# USE_NGHTTP2=''
# USE_NSS=''
# USE_OPENLDAP=''
# USE_POLARSSL=''
# USE_SCHANNEL=''
# USE_UNIX_SOCKETS='1'
# USE_WINDOWS_SSPI=''
# VERSION='-'
# VERSIONNUM='073101'
# ZLIB_LIBS='-lz'
# ZSH_FUNCTIONS_DIR='${prefix}/share/zsh/site-functions'
# ac_ct_AR=''
# ac_ct_CC='gcc'
# ac_ct_DUMPBIN='link -dump'
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build='x86_64-pc-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='pc'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/curl/src/curl-7.49.1/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# libext='a'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='/usr/share/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# runstatedir='${localstatedir}/run'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# subdirs=''
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "curl"
# #define PACKAGE_TARNAME "curl"
# #define PACKAGE_VERSION "-"
# #define PACKAGE_STRING "curl -"
# #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# #define PACKAGE_URL ""
# #define PACKAGE "curl"
# #define VERSION "-"
# #define OS "x86_64-unknown-linux-gnu"
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_INTTYPES_H 1
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define SIZEOF_LONG 8
# #define SIZEOF_VOIDP 8
# #define CURL_TYPEOF_CURL_OFF_T long
# #define CURL_FORMAT_CURL_OFF_T "ld"
# #define CURL_FORMAT_CURL_OFF_TU "lu"
# #define CURL_FORMAT_OFF_T "%ld"
# #define CURL_SIZEOF_CURL_OFF_T 8
# #define CURL_SUFFIX_CURL_OFF_T L
# #define CURL_SUFFIX_CURL_OFF_TU UL
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define CURL_DISABLE_LDAP 1
# #define CURL_DISABLE_LDAPS 1
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# #define HAVE_ZLIB_H 1
# #define HAVE_LIBZ 1
# #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# #define HAVE_WRITABLE_ARGV 1
# #define HAVE_GSSAPI_GSSAPI_H 1
# #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
# #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
# #define HAVE_GSSMIT 1
# #define HAVE_GSSAPI 1
# #define HAVE_LIBSSL 1
# #define HAVE_OPENSSL_X509_H 1
# #define USE_OPENSSL 1
# #define HAVE_OPENSSL_RSA_H 1
# #define USE_OPENSSL 1
# #define HAVE_OPENSSL_CRYPTO_H 1
# #define USE_OPENSSL 1
# #define HAVE_OPENSSL_PEM_H 1
# #define USE_OPENSSL 1
# #define HAVE_OPENSSL_SSL_H 1
# #define USE_OPENSSL 1
# #define HAVE_OPENSSL_ERR_H 1
# #define USE_OPENSSL 1
# #define HAVE_OPENSSL_PKCS12_H 1
# #define HAVE_OPENSSL_ENGINE_H 1
# #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
# #define HAVE_RAND_STATUS 1
# #define HAVE_RAND_EGD 1
# #define HAVE_ENGINE_CLEANUP 1
# #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
# #define HAVE_SSL_GET_SHUTDOWN 1
# #define HAVE_SSLV2_CLIENT_METHOD 1
# #define RANDOM_FILE "/dev/urandom"
# #define HAVE_OPENSSL_SRP 1
# #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# #define HAVE_LIBSSH2 1
# #define HAVE_LIBSSH2_H 1
# #define USE_LIBSSH2 1
# #define HAVE_LIBIDN 1
# #define HAVE_IDN_FREE 1
# #define HAVE_IDNA_STRERROR 1
# #define HAVE_TLD_STRERROR 1
# #define HAVE_IDN_FREE_H 1
# #define HAVE_TLD_H 1
# #define STDC_HEADERS 1
# #define HAVE_MALLOC_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_SYS_SELECT_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_SYS_UIO_H 1
# #define HAVE_ASSERT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_LIMITS_H 1
# #define HAVE_ARPA_INET_H 1
# #define HAVE_NET_IF_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_SYS_UN_H 1
# #define HAVE_NETINET_TCP_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_SYS_PARAM_H 1
# #define HAVE_TERMIOS_H 1
# #define HAVE_TERMIO_H 1
# #define HAVE_SGTTY_H 1
# #define HAVE_FCNTL_H 1
# #define HAVE_ALLOCA_H 1
# #define HAVE_TIME_H 1
# #define HAVE_PWD_H 1
# #define HAVE_UTIME_H 1
# #define HAVE_SYS_POLL_H 1
# #define HAVE_POLL_H 1
# #define HAVE_SYS_RESOURCE_H 1
# #define HAVE_LIBGEN_H 1
# #define HAVE_LOCALE_H 1
# #define HAVE_ERRNO_H 1
# #define HAVE_STDBOOL_H 1
# #define HAVE_ARPA_TFTP_H 1
# #define HAVE_SYS_WAIT_H 1
# #define HAVE_SETJMP_H 1
# #define HAVE_VARIADIC_MACROS_C99 1
# #define HAVE_VARIADIC_MACROS_GCC 1
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_STRUCT_TIMEVAL 1
# #define SIZEOF_SIZE_T 8
# #define SIZEOF_LONG 8
# #define SIZEOF_INT 4
# #define SIZEOF_SHORT 2
# #define CURL_SIZEOF_LONG 8
# #define SIZEOF_TIME_T 8
# #define SIZEOF_OFF_T 8
# #define HAVE_LONGLONG 1
# #define HAVE_LL 1
# #define HAVE_BOOL_T 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define CURL_PULL_SYS_TYPES_H 1
# #define CURL_PULL_SYS_SOCKET_H 1
# #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# #define CURL_SIZEOF_CURL_SOCKLEN_T 4
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_POLL_H 1
# #define HAVE_SYS_POLL_H 1
# #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# #define HAVE_SIGNAL_H 1
# #define HAVE_SIG_ATOMIC_T 1
# #define RETSIGTYPE void
# #define HAVE_SYS_SELECT_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define SELECT_TYPE_ARG1 int
# #define SELECT_TYPE_ARG234 fd_set *
# #define SELECT_TYPE_RETV int
# #define SELECT_QUAL_ARG5
# #define SELECT_TYPE_ARG5 struct timeval *
# #define HAVE_SELECT 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define RECV_TYPE_ARG1 int
# #define RECV_TYPE_ARG2 void *
# #define RECV_TYPE_ARG3 size_t
# #define RECV_TYPE_ARG4 int
# #define RECV_TYPE_RETV ssize_t
# #define HAVE_RECV 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define SEND_TYPE_ARG1 int
# #define SEND_TYPE_ARG3 size_t
# #define SEND_TYPE_ARG4 int
# #define SEND_TYPE_RETV ssize_t
# #define SEND_QUAL_ARG2 const
# #define SEND_TYPE_ARG2 void *
# #define HAVE_SEND 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_MSG_NOSIGNAL 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_ALARM 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_STRING_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_LIBGEN_H 1
# #define HAVE_BASENAME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_CONNECT 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_FCNTL_H 1
# #define HAVE_FCNTL 1
# #define HAVE_FCNTL_O_NONBLOCK 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_STDIO_H 1
# #define HAVE_FDOPEN 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_FREEADDRINFO 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_IFADDRS_H 1
# #define HAVE_FREEIFADDRS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_XATTR_H 1
# #define HAVE_FSETXATTR 1
# #define HAVE_FSETXATTR_5 1
# #define HAVE_FTRUNCATE 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_GETADDRINFO 1
# #define HAVE_GETADDRINFO_THREADSAFE 1
# #define HAVE_GAI_STRERROR 1
# #define HAVE_GETHOSTBYADDR 1
# #define HAVE_GETHOSTBYADDR_R 1
# #define HAVE_GETHOSTBYADDR_R_8 1
# #define HAVE_GETHOSTBYNAME 1
# #define HAVE_GETHOSTBYNAME_R 1
# #define HAVE_GETHOSTBYNAME_R_6 1
# #define GETHOSTNAME_TYPE_ARG2 size_t
# #define HAVE_GETHOSTNAME 1
# #define HAVE_GETIFADDRS 1
# #define HAVE_GETSERVBYPORT_R 1
# #define GETSERVBYPORT_R_ARGS 6
# #define GETSERVBYPORT_R_BUFSIZE 4096
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_GMTIME_R 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_ARPA_INET_H 1
# #define HAVE_INET_NTOP 1
# #define HAVE_INET_PTON 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_STROPTS_H 1
# #define HAVE_IOCTL 1
# #define HAVE_IOCTL_FIONBIO 1
# #define HAVE_IOCTL_SIOCGIFADDR 1
# #define HAVE_LOCALTIME_R 1
# #define HAVE_POLL 1
# #define HAVE_POLL_FINE 1
# #define HAVE_SETSOCKOPT 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SIGNAL_H 1
# #define HAVE_SIGACTION 1
# #define HAVE_SIGINTERRUPT 1
# #define HAVE_SIGNAL 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SETJMP_H 1
# #define HAVE_SIGSETJMP 1
# #define HAVE_SOCKET 1
# #define HAVE_SOCKETPAIR 1
# #define HAVE_STRCASECMP 1
# #define HAVE_STRDUP 1
# #define HAVE_STRERROR_R 1
# #define HAVE_POSIX_STRERROR_R 1
# #define STRERROR_R_TYPE_ARG3 size_t
# #define HAVE_STRNCASECMP 1
# #define HAVE_STRSTR 1
# #define HAVE_STRTOK_R 1
# #define HAVE_STRTOLL 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_UIO_H 1
# #define HAVE_WRITEV 1
# #define HAVE_FORK 1
# #define HAVE_GETEUID 1
# #define HAVE_GETPPID 1
# #define HAVE_GETPROTOBYNAME 1
# #define HAVE_GETPWUID 1
# #define HAVE_GETPWUID_R 1
# #define HAVE_GETRLIMIT 1
# #define HAVE_GETTIMEOFDAY 1
# #define HAVE_IF_NAMETOINDEX 1
# #define HAVE_INET_ADDR 1
# #define HAVE_PERROR 1
# #define HAVE_PIPE 1
# #define HAVE_SETLOCALE 1
# #define HAVE_SETRLIMIT 1
# #define HAVE_UNAME 1
# #define HAVE_UTIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_NETDB_H 1
# #define GETNAMEINFO_TYPE_ARG2 socklen_t
# #define GETNAMEINFO_TYPE_ARG46 socklen_t
# #define GETNAMEINFO_TYPE_ARG7 int
# #define GETNAMEINFO_QUAL_ARG1 const
# #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
# #define HAVE_GETNAMEINFO 1
# #define ENABLE_IPV6 1
# #define HAVE_STDIO_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_ARPA_INET_H 1
# #define USE_MANUAL 1
# #define HAVE_PTHREAD_H 1
# #define USE_THREADS_POSIX 1
# #define NTLM_WB_ENABLED 1
# #define NTLM_WB_FILE "/usr/bin/ntlm_auth"
# #define USE_TLS_SRP 1
# #define USE_UNIX_SOCKETS 1
# #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#
# configure: exit 0