Build of curl with musl toolchain

The build took 00h 02m 20s and was NOT successful.

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

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

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: curl 7.49.1-1 (Wed Apr 5 02:11:06 UTC 2017)
# ==> 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... /sysroot/bin/ar
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for x86_64-unknown-linux-gcc... clang
# 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... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking how to run the C preprocessor... clang -E
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# configure: WARNING: using cross tools not prefixed with host triplet
# 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 clang... 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... no
# 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 clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/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 /sysroot/bin/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... /sysroot/bin/ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse nm output from clang 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 clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/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... yes
# checking if compiler is GNU C... no
# 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 some basic options... yes
# configure: compiler options added: -Qunused-arguments
# 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: -Os
# 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 for inflateEnd in -lz... no
# checking zlib.h usability... no
# checking zlib.h presence... no
# checking for zlib.h... no
# checking whether to enable IPv6... yes
# checking if struct sockaddr_in6 has sin6_scope_id member... yes
# checking if argv can be written to... no
# configure: WARNING: the previous check could not be made default was used
# 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... no
# checking gssapi/gssapi.h presence... no
# checking for gssapi/gssapi.h... no
# checking for gssapi/gssapi_generic.h... no
# checking for gssapi/gssapi_krb5.h... no
# checking gssapi.h usability... no
# checking gssapi.h presence... no
# checking for gssapi.h... no
# configure: WARNING: disabling GSS-API support since no header files were found
# 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 HMAC_Update in -lcrypto... no
# checking for HMAC_Init_ex in -lcrypto... no
# checking for ssl_version in -laxtls... no
# configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
# configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.
# 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... no
# checking libssh2.h usability... no
# checking libssh2.h presence... no
# checking for libssh2.h... no
# 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... /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... no
# checking if idna_to_ascii_lz can be linked... no
# configure: WARNING: Cannot find libraries for IDN support: IDN disabled
# 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... no
# checking for sgtty.h... no
# 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 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 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 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 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 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 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 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 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... yes
# checking if sigsetjmp is prototyped... 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 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... 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... no
# 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: clang
# SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} )
# SSH support: no (--with-libssh2)
# zlib support: no (--with-zlib)
# GSS-API support: no (--with-gssapi)
# TLS-SRP support: no (--enable-tls-srp)
# resolver: POSIX threaded
# IPv6 support: enabled
# Unix sockets support: enabled
# IDN support: no (--with-{libidn,winidn})
# 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 GOPHER HTTP IMAP POP3 RTSP SMTP 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
# In file included from sendf.c:35:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from http.c:67:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# CC libcurl_la-ftp.lo
# In file included from ftp.c:70:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-url.lo
# 1 warning generated.
# CC libcurl_la-dict.lo
# In file included from url.c:99:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-if2ip.lo
# 1 warning generated.
# 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
# 1 warning generated.
# CC libcurl_la-telnet.lo
# In file included from telnet.c:60:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-netrc.lo
# 1 warning generated.
# CC libcurl_la-getinfo.lo
# CC libcurl_la-transfer.lo
# CC libcurl_la-strequal.lo
# CC libcurl_la-easy.lo
# In file included from easy.c:65:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from transfer.c:74:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-security.lo
# CC libcurl_la-curl_fnmatch.lo
# 1 warning generated.
# CC libcurl_la-fileinfo.lo
# CC libcurl_la-ftplistparser.lo
# 1 warning generated.
# 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
# In file included from connect.c:64:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-multi.lo
# CC libcurl_la-content_encoding.lo
# 1 warning generated.
# CC libcurl_la-share.lo
# In file included from multi.c:38:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 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
# 1 warning generated.
# 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
# In file included from select.c:50:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# In file included from tftp.c:60:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-strdup.lo
# CC libcurl_la-socks.lo
# CC libcurl_la-ssh.lo
# In file included from socks.c:37:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# CC libcurl_la-rawstr.lo
# 1 warning generated.
# 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
# In file included from imap.c:77:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# CC libcurl_la-pop3.lo
# CC libcurl_la-smtp.lo
# CC libcurl_la-pingpong.lo
# In file included from pop3.c:79:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from smtp.c:78:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from pingpong.c:30:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-rtsp.lo
# 1 warning generated.
# 1 warning generated.
# 1 warning generated.
# CC libcurl_la-curl_threads.lo
# In file included from rtsp.c:37:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# 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
# In file included from gopher.c:36:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# In file included from http_proxy.c:33:
# In file included from ../lib/select.h:28:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# CC libcurl_la-asyn-thread.lo
# CC libcurl_la-asyn-ares.lo
# 1 warning generated.
# 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
# /sysroot/bin/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_cb_dbg.o
# CC curl-tool_bname.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
# In file included from tool_sleep.c:29:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# 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-nonblock.o
# CC ../lib/curl-rawstr.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 Apr 5 02:12:00 UTC 2017)

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 = eafb2096b816
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /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: /sysroot/bin
# 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 /sysroot/bin/ar
# configure:3653: result: /sysroot/bin/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:4022: result: clang
# configure:4291: checking for C compiler version
# configure:4300: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:4311: $? = 0
# configure:4300: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:4311: $? = 0
# configure:4300: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:4311: $? = 1
# configure:4300: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:4311: $? = 1
# configure:4330: checking whether the C compiler works
# configure:4352: clang 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: clang -o conftest conftest.c >&5
# configure:4426: $? = 0
# configure:4448: result:
# configure:4469: checking whether we are cross compiling
# configure:4477: clang -o conftest conftest.c >&5
# configure:4481: $? = 0
# configure:4488: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:4492: $? = 127
# configure:4507: result: yes
# configure:4512: checking for suffix of object files
# configure:4533: clang -c conftest.c >&5
# configure:4537: $? = 0
# configure:4558: result: o
# configure:4562: checking whether we are using the GNU C compiler
# configure:4580: clang -c conftest.c >&5
# configure:4580: $? = 0
# configure:4589: result: yes
# configure:4598: checking whether clang accepts -g
# configure:4617: clang -c -g conftest.c >&5
# configure:4617: $? = 0
# configure:4656: result: yes
# configure:4673: checking for clang option to accept ISO C89
# configure:4735: clang -c conftest.c >&5
# configure:4735: $? = 0
# configure:4748: result: none needed
# configure:4773: checking whether clang understands -c and -o together
# configure:4794: clang -c conftest.c -o conftest2.o
# configure:4797: $? = 0
# configure:4794: clang -c conftest.c -o conftest2.o
# configure:4797: $? = 0
# configure:4809: result: yes
# configure:4832: checking how to run the C preprocessor
# configure:4863: clang -E conftest.c
# configure:4863: $? = 0
# configure:4877: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# 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: clang -E
# configure:4922: clang -E conftest.c
# configure:4922: $? = 0
# configure:4936: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# 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:5088: checking for x86_64-unknown-linux-strip
# configure:5118: result: no
# configure:5128: checking for strip
# configure:5144: found /sysroot/bin/strip
# configure:5155: result: strip
# configure:5167: WARNING: using cross tools not prefixed with host triplet
# 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 clang
# 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: clang -c conftest.c >&5
# configure:5762: $? = 0
# configure:5762: result: yes
# configure:5762: checking for stdint.h
# configure:5762: clang -c conftest.c >&5
# configure:5762: $? = 0
# configure:5762: result: yes
# configure:5762: checking for inttypes.h
# configure:5762: clang -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: clang -c conftest.c >&5
# configure:5924: $? = 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: clang -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for stdlib.h
# configure:6021: clang -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for string.h
# configure:6021: clang -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for memory.h
# configure:6021: clang -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6021: checking for strings.h
# configure:6021: clang -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: clang -c conftest.c >&5
# configure:6021: $? = 0
# configure:6021: result: yes
# configure:6034: checking if cpp -P is needed
# configure:6051: result: no
# configure:6100: checking size of long
# configure:6105: clang -c conftest.c >&5
# configure:6105: $? = 0
# configure:6105: clang -c conftest.c >&5
# conftest.c:60:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6105: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6105: clang -c conftest.c >&5
# conftest.c:60:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6105: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6105: clang -c conftest.c >&5
# conftest.c:60:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6105: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6105: clang -c conftest.c >&5
# conftest.c:60:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6105: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6105: clang -c conftest.c >&5
# configure:6105: $? = 0
# configure:6105: clang -c conftest.c >&5
# configure:6105: $? = 0
# configure:6105: clang -c conftest.c >&5
# configure:6105: $? = 0
# configure:6105: clang -c conftest.c >&5
# configure:6105: $? = 0
# configure:6119: result: 8
# configure:6133: checking size of void*
# configure:6138: clang -c conftest.c >&5
# configure:6138: $? = 0
# configure:6138: clang -c conftest.c >&5
# conftest.c:61:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6138: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6138: clang -c conftest.c >&5
# conftest.c:61:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6138: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6138: clang -c conftest.c >&5
# conftest.c:61:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6138: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6138: clang -c conftest.c >&5
# conftest.c:61:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:6138: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:6138: clang -c conftest.c >&5
# configure:6138: $? = 0
# configure:6138: clang -c conftest.c >&5
# configure:6138: $? = 0
# configure:6138: clang -c conftest.c >&5
# configure:6138: $? = 0
# configure:6138: clang -c conftest.c >&5
# configure:6138: $? = 0
# configure:6152: result: 8
# configure:6190: checking for 64-bit curl_off_t data type
# configure:6240: clang -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: clang -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: clang -c conftest.c >&5
# conftest.c:43:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# 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: clang -c conftest.c >&5
# conftest.c:43:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# 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: clang -c conftest.c >&5
# configure:6823: $? = 0
# configure:6854: clang -c conftest.c >&5
# configure:6854: $? = 0
# configure:6925: clang -o conftest conftest.c >&5
# configure:6925: $? = 0
# configure:7004: clang -o conftest conftest.c >&5
# configure:7004: $? = 0
# configure:7083: clang -o conftest conftest.c >&5
# configure:7083: $? = 0
# configure:7162: clang -o conftest conftest.c >&5
# configure:7162: $? = 0
# configure:7241: clang -o conftest conftest.c >&5
# /tmp/conftest-60ee3a.o:conftest.c:function main: error: undefined reference to 'inet_ntoa_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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: clang -o conftest conftest.c >&5
# configure:7324: $? = 0
# configure:7403: clang -o conftest conftest.c >&5
# configure:7403: $? = 0
# configure:7482: clang -o conftest conftest.c >&5
# /tmp/conftest-90db12.o:conftest.c:function main: error: undefined reference to 'getprotobyname_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7482: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_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 getprotobyname_r innocuous_getprotobyname_r
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef getprotobyname_r
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char getprotobyname_r ();
# | #if defined __stub_getprotobyname_r || defined __stub___getprotobyname_r
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return getprotobyname_r ();
# | ;
# | return 0;
# | }
# |
# configure:7561: clang -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: clang -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 clang
# configure:8181: result: /sysroot/bin/ld
# configure:8188: checking if the linker (/sysroot/bin/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: clang -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 /sysroot/bin/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 /sysroot/bin/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: /sysroot/bin/ar
# configure:9317: checking for archiver @FILE support
# configure:9333: clang -c conftest.c >&5
# configure:9333: $? = 0
# configure:9336: /sysroot/bin/ar cru libconftest.a @conftest.lst >&5
# /sysroot/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# configure:9339: $? = 0
# configure:9344: /sysroot/bin/ar cru libconftest.a @conftest.lst >&5
# /sysroot/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# /sysroot/bin/ar: conftest.o: No such file or directory
# configure:9347: $? = 1
# configure:9359: result: @
# configure:9377: checking for x86_64-unknown-linux-strip
# configure:9404: result: strip
# configure:9476: checking for x86_64-unknown-linux-ranlib
# configure:9506: result: no
# configure:9516: checking for ranlib
# configure:9532: found /sysroot/bin/ranlib
# configure:9543: result: ranlib
# configure:9645: checking command to parse nm output from clang object
# configure:9798: clang -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: clang -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: clang -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: clang -c conftest.c >&5
# configure:11121: $? = 0
# configure:11121: result: yes
# configure:11782: checking for objdir
# configure:11797: result: .libs
# configure:12061: checking if clang supports -fno-rtti -fno-exceptions
# configure:12079: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:12083: $? = 0
# configure:12096: result: yes
# configure:12454: checking for clang option to produce PIC
# configure:12461: result: -fPIC -DPIC
# configure:12469: checking if clang PIC flag -fPIC -DPIC works
# configure:12487: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:12491: $? = 0
# configure:12504: result: yes
# configure:12533: checking if clang static flag -static works
# configure:12561: result: no
# configure:12576: checking if clang supports -c -o file.o
# configure:12597: clang -c -o out/conftest2.o conftest.c >&5
# configure:12601: $? = 0
# configure:12623: result: yes
# configure:12631: checking if clang supports -c -o file.o
# configure:12678: result: yes
# configure:12711: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:13972: result: yes
# configure:14009: checking whether -lc should be explicitly linked in
# configure:14017: clang -c conftest.c >&5
# configure:14020: $? = 0
# configure:14035: clang -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: clang -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: clang -c conftest.c >&5
# configure:16086: $? = 0
# configure:16094: result: inline
# configure:16129: checking if compiler is DEC/Compaq/HP C
# configure:16153: clang -E conftest.c
# configure:16153: $? = 0
# configure:16197: clang -E conftest.c
# configure:16197: $? = 0
# configure:16231: result: no
# configure:16236: checking if compiler is HP-UX C
# configure:16260: clang -E conftest.c
# configure:16260: $? = 0
# configure:16293: result: no
# configure:16298: checking if compiler is IBM C
# configure:16322: clang -E conftest.c
# configure:16322: $? = 0
# configure:16363: result: no
# configure:16368: checking if compiler is Intel C
# configure:16392: clang -E conftest.c
# configure:16392: $? = 0
# configure:16487: result: no
# configure:16492: checking if compiler is clang
# configure:16516: clang -E conftest.c
# configure:16516: $? = 0
# configure:16539: result: yes
# configure:16565: checking if compiler is GNU C
# configure:16589: clang -E conftest.c
# configure:16589: $? = 0
# configure:16678: result: no
# configure:16683: checking if compiler is LCC
# configure:16707: clang -E conftest.c
# configure:16707: $? = 0
# configure:16740: result: no
# configure:16745: checking if compiler is SGI MIPSpro C
# configure:16769: clang -E conftest.c
# configure:16769: $? = 0
# configure:16813: clang -E conftest.c
# configure:16813: $? = 0
# configure:16857: clang -E conftest.c
# configure:16857: $? = 0
# configure:16892: result: no
# configure:16897: checking if compiler is SGI MIPS C
# configure:16921: clang -E conftest.c
# configure:16921: $? = 0
# configure:16965: clang -E conftest.c
# configure:16965: $? = 0
# configure:17000: result: no
# configure:17005: checking if compiler is SunPro C
# configure:17029: clang -E conftest.c
# configure:17029: $? = 0
# configure:17062: result: no
# configure:17067: checking if compiler is Tiny C
# configure:17091: clang -E conftest.c
# configure:17091: $? = 0
# configure:17124: result: no
# configure:17129: checking if compiler is Watcom C
# configure:17153: clang -E conftest.c
# configure:17153: $? = 0
# configure:17240: result: no
# configure:17410: checking if compiler accepts some basic options
# configure:17434: clang -c -Qunused-arguments conftest.c >&5
# configure:17434: $? = 0
# configure:17464: clang -o conftest -Qunused-arguments conftest.c >&5
# configure:17464: $? = 0
# configure:17525: result: yes
# configure:17527: compiler options added: -Qunused-arguments
# configure:17594: checking if compiler accepts debug disabling options
# configure:17626: clang -c -Qunused-arguments conftest.c >&5
# configure:17626: $? = 0
# configure:17656: clang -o conftest -Qunused-arguments conftest.c >&5
# configure:17656: $? = 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:17871: $? = 0
# configure:17901: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:17901: $? = 0
# configure:17962: result: yes
# configure:17964: compiler options added: -Os
# configure:18364: checking if compiler halts on compilation errors
# configure:18381: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:42:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:38:26: error: 'bad_t' declared as an array with a negative size
# typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:39:11: error: conflicting types for 'rand'
# int rand(int n);
# ^
# /sysroot/include/stdlib.h:35:5: note: previous declaration is here
# int rand (void);
# ^
# conftest.c:40:11: error: conflicting types for 'rand'
# int rand(int n)
# ^
# /sysroot/include/stdlib.h:35:5: note: previous declaration is here
# int rand (void);
# ^
# conftest.c:52:20: error: too many arguments to function call, expected 0, have 1
# int j = rand(i[0]);
# ~~~~ ^~~~
# /sysroot/include/stdlib.h:35:1: note: 'rand' declared here
# int rand (void);
# ^
# 3 errors generated.
# 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: clang -c -Qunused-arguments -Os -fvisibility=hidden conftest.c >&5
# configure:18567: $? = 0
# configure:18590: result: yes
# configure:18703: checking for windows.h
# configure:18733: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:42:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:47:3: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# 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: clang -o conftest -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:20423: $? = 0
# configure:20423: result: yes
# configure:20423: checking sys/time.h presence
# configure:20423: clang -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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:20423: $? = 0
# configure:20423: result: yes
# configure:20423: checking time.h presence
# configure:20423: clang -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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:20466: $? = 0
# configure:20468: result: yes
# configure:20486: checking for clock_gettime in libraries
# configure:20528: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:20528: $? = 0
# configure:20549: result: no additional lib required
# configure:20670: checking for inflateEnd in -lz
# configure:20692: clang -o conftest -Qunused-arguments -Os conftest.c -lz >&5
# /sysroot/bin/ld: error: cannot find -lz
# /tmp/conftest-6e63e4.o:conftest.c:function main: error: undefined reference to 'inflateEnd'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:20692: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char inflateEnd ();
# | int main (void)
# | {
# | return inflateEnd ();
# | ;
# | return 0;
# | }
# configure:20701: result: no
# configure:20718: checking zlib.h usability
# configure:20718: clang -c -Qunused-arguments -Os -I/usr/local/include conftest.c >&5
# conftest.c:76:10: fatal error: 'zlib.h' file not found
# #include
# ^
# 1 error generated.
# configure:20718: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 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:20718: result: no
# configure:20718: checking zlib.h presence
# configure:20718: clang -E -I/usr/local/include conftest.c
# conftest.c:43:10: fatal error: 'zlib.h' file not found
# #include
# ^
# 1 error generated.
# configure:20718: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | /* end confdefs.h. */
# | #include
# configure:20718: result: no
# configure:20718: checking for zlib.h
# configure:20718: result: no
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:21531: $? = 0
# configure:21536: result: yes
# configure:21548: checking if argv can be written to
# configure:21592: result: no
# configure:21594: WARNING: the previous check could not be made default was used
# configure:21638: checking if GSS-API support is requested
# configure:21641: result: yes
# configure:21656: checking gss.h usability
# configure:21656: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:77:10: fatal error: 'gss.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 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: clang -E conftest.c
# conftest.c:44:10: fatal error: 'gss.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:77:10: fatal error: 'gssapi/gssapi.h' file not found
# #include
# ^
# 1 error generated.
# configure:21668: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 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:21668: result: no
# configure:21668: checking gssapi/gssapi.h presence
# configure:21668: clang -E conftest.c
# conftest.c:44:10: fatal error: 'gssapi/gssapi.h' file not found
# #include
# ^
# 1 error generated.
# configure:21668: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | /* end confdefs.h. */
# | #include
# configure:21668: result: no
# configure:21668: checking for gssapi/gssapi.h
# configure:21668: result: no
# configure:21683: checking for gssapi/gssapi_generic.h
# configure:21683: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:83:10: fatal error: 'gssapi/gssapi_generic.h' file not found
# #include
# ^
# 1 error generated.
# configure:21683: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 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
# | #ifdef HAVE_GSSAPI_GSSAPI_H
# | #include
# | #endif
# |
# |
# | #include
# configure:21683: result: no
# configure:21683: checking for gssapi/gssapi_krb5.h
# configure:21683: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:83:10: fatal error: 'gssapi/gssapi_krb5.h' file not found
# #include
# ^
# 1 error generated.
# configure:21683: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 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
# | #ifdef HAVE_GSSAPI_GSSAPI_H
# | #include
# | #endif
# |
# |
# | #include
# configure:21683: result: no
# configure:21702: checking gssapi.h usability
# configure:21702: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:77:10: fatal error: 'gssapi.h' file not found
# #include
# ^
# 1 error generated.
# configure:21702: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 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:21702: result: no
# configure:21702: checking gssapi.h presence
# configure:21702: clang -E conftest.c
# conftest.c:44:10: fatal error: 'gssapi.h' file not found
# #include
# ^
# 1 error generated.
# configure:21702: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | /* end confdefs.h. */
# | #include
# configure:21702: result: no
# configure:21702: checking for gssapi.h
# configure:21702: result: no
# configure:21712: WARNING: disabling GSS-API support since no header files were found
# 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:22148: checking for HMAC_Update in -lcrypto
# configure:22170: clang -o conftest -Qunused-arguments -Os conftest.c -lcrypto >&5
# /sysroot/bin/ld: error: cannot find -lcrypto
# /tmp/conftest-2e5c98.o:conftest.c:function main: error: undefined reference to 'HMAC_Update'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:22170: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char HMAC_Update ();
# | int main (void)
# | {
# | return HMAC_Update ();
# | ;
# | return 0;
# | }
# configure:22179: result: no
# configure:22190: checking for HMAC_Init_ex in -lcrypto
# configure:22212: clang -o conftest -Qunused-arguments -Os -I/include/openssl -I/include -L conftest.c -lcrypto >&5
# /sysroot/bin/ld: error: cannot find -lcrypto
# /sysroot/bin/../lib/crt1.o:/srcdir/musl/crt/crt1.c:function _start_c: error: undefined reference to 'main'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:22212: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char HMAC_Init_ex ();
# | int main (void)
# | {
# | return HMAC_Init_ex ();
# | ;
# | return 0;
# | }
# configure:22221: result: no
# configure:24940: checking for ssl_version in -laxtls
# configure:24962: clang -o conftest -Qunused-arguments -Os conftest.c -laxtls >&5
# /sysroot/bin/ld: error: cannot find -laxtls
# /tmp/conftest-649c72.o:conftest.c:function main: error: undefined reference to 'ssl_version'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:24962: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char ssl_version ();
# | int main (void)
# | {
# | return ssl_version ();
# | ;
# | return 0;
# | }
# configure:24971: result: no
# configure:25004: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
# configure:25006: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.
# 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-819caa.o:conftest.c:function main: error: undefined reference to 'psl_builtin'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 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: clang -o conftest -Qunused-arguments -Os conftest.c -lpsl >&5
# /sysroot/bin/ld: error: cannot find -lpsl
# /tmp/conftest-93a607.o:conftest.c:function main: error: undefined reference to 'psl_builtin'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 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: clang -o conftest -Qunused-arguments -Os conftest.c -lssh2 >&5
# /sysroot/bin/ld: error: cannot find -lssh2
# /tmp/conftest-136c36.o:conftest.c:function main: error: undefined reference to 'libssh2_channel_open_ex'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25823: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* end confdefs.h. */
# |
# |
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char libssh2_channel_open_ex ();
# | int main (void)
# | {
# | return libssh2_channel_open_ex ();
# | ;
# | return 0;
# | }
# configure:25832: result: no
# configure:25846: checking libssh2.h usability
# configure:25846: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:78:10: fatal error: 'libssh2.h' file not found
# #include
# ^
# 1 error generated.
# configure:25846: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* 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:25846: result: no
# configure:25846: checking libssh2.h presence
# configure:25846: clang -E conftest.c
# conftest.c:45:10: fatal error: 'libssh2.h' file not found
# #include
# ^
# 1 error generated.
# configure:25846: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* end confdefs.h. */
# | #include
# configure:25846: result: no
# configure:25846: checking for libssh2.h
# configure:25846: result: no
# configure:26058: checking for RTMP_Init in -lrtmp
# configure:26080: clang -o conftest -Qunused-arguments -Os conftest.c -lrtmp -lrtmp >&5
# /sysroot/bin/ld: error: cannot find -lrtmp
# /sysroot/bin/ld: error: cannot find -lrtmp
# /tmp/conftest-fb9d20.o:conftest.c:function main: error: undefined reference to 'RTMP_Init'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* 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:26573: found /usr/sbin/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: clang -o conftest -Qunused-arguments -Os conftest.c -lidn >&5
# /sysroot/bin/ld: error: cannot find -lidn
# /tmp/conftest-5e8121.o:conftest.c:function main: error: undefined reference to 'idna_to_ascii_4i'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:26692: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* end confdefs.h. */
# |
# |
# | #define idna_to_ascii_4i innocuous_idna_to_ascii_4i
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef idna_to_ascii_4i
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char idna_to_ascii_4i ();
# | #if defined __stub_idna_to_ascii_4i || defined __stub___idna_to_ascii_4i
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return idna_to_ascii_4i ();
# | ;
# | return 0;
# | }
# |
# configure:26700: result: no
# configure:26708: checking if idna_to_ascii_lz can be linked
# configure:26737: clang -o conftest -Qunused-arguments -Os conftest.c -lidn >&5
# /sysroot/bin/ld: error: cannot find -lidn
# /tmp/conftest-ec7870.o:conftest.c:function main: error: undefined reference to 'idna_to_ascii_lz'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:26737: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | /* end confdefs.h. */
# |
# |
# | #define idna_to_ascii_lz innocuous_idna_to_ascii_lz
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef idna_to_ascii_lz
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char idna_to_ascii_lz ();
# | #if defined __stub_idna_to_ascii_lz || defined __stub___idna_to_ascii_lz
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return idna_to_ascii_lz ();
# | ;
# | return 0;
# | }
# |
# configure:26745: result: no
# configure:26801: WARNING: Cannot find libraries for IDN support: IDN disabled
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27234: $? = 0
# configure:27246: result: yes
# configure:27274: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27274: $? = 0
# configure:27297: checking for memory.h
# configure:27322: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:54:19: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
# void *p = malloc(10);
# ^
# conftest.c:54:19: note: include the header or explicitly provide a declaration for 'malloc'
# conftest.c:55:19: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration]
# void *q = calloc(10,10);
# ^
# conftest.c:55:19: note: include the header or explicitly provide a declaration for 'calloc'
# conftest.c:56:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
# free(p);
# ^
# 3 warnings generated.
# configure:27322: $? = 0
# configure:27334: result: yes
# configure:27362: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/socket.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/ioctl.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/uio.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for assert.h
# configure:27428: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for arpa/inet.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for net/if.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for netinet/in.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/un.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for netinet/tcp.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for netdb.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/sockio.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:86:10: fatal error: 'sys/sockio.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for termios.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for termio.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:89:10: fatal error: 'termio.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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
# | /* 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 sgtty.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:89:10: fatal error: 'sgtty.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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
# | /* 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 fcntl.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for alloca.h
# configure:27428: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:92:10: fatal error: 'io.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for utime.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/utime.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:94:10: fatal error: 'sys/utime.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# In file included from conftest.c:94:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for poll.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for socket.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:96:10: fatal error: 'socket.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for libgen.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for locale.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for errno.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for stdbool.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for arpa/tftp.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for sys/filio.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:102:10: fatal error: 'sys/filio.h' file not found
# #include
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27428: checking for setjmp.h
# configure:27428: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27428: $? = 0
# configure:27428: result: yes
# configure:27460: checking for an ANSI C-conforming const
# configure:27525: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27525: $? = 0
# configure:27532: result: yes
# configure:27541: checking for compiler support of C99 variadic macro style
# configure:27571: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27571: $? = 0
# configure:27583: result: yes
# configure:27594: checking for compiler support of old gcc variadic macro style
# configure:27624: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27624: $? = 0
# configure:27636: result: yes
# configure:27648: checking for size_t
# configure:27648: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27648: $? = 0
# configure:27648: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:119:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27760: $? = 0
# configure:27772: result: yes
# configure:27826: checking size of size_t
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27831: $? = 0
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:125:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27831: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:125:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27831: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:125:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27831: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:125:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27831: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27831: $? = 0
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27831: $? = 0
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27831: $? = 0
# configure:27831: clang -c -Qunused-arguments -Os conftest.c >&5
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27897: $? = 0
# configure:27897: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:127:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27897: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27897: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:127:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27897: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27897: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:127:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27897: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27897: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27897: $? = 0
# configure:27897: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27897: $? = 0
# configure:27897: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27897: $? = 0
# configure:27911: result: 4
# configure:27925: checking size of short
# configure:27930: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27930: $? = 0
# configure:27930: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:128:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27930: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27930: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:128:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27930: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27930: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27930: $? = 0
# configure:27930: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27930: $? = 0
# configure:27944: result: 2
# configure:27969: checking size of time_t
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27974: $? = 0
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:130:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27974: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:130:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27974: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:130:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27974: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:130:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27974: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27974: $? = 0
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27974: $? = 0
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27974: $? = 0
# configure:27974: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:27974: $? = 0
# configure:27988: result: 8
# configure:28002: checking size of off_t
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28007: $? = 0
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:131:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:28007: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:131:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:28007: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:131:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:28007: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:131:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:28007: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28007: $? = 0
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28007: $? = 0
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28007: $? = 0
# configure:28007: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28007: $? = 0
# configure:28021: result: 8
# configure:28043: checking for long long
# configure:28043: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28043: $? = 0
# configure:28043: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:132:24: error: expected expression
# if (sizeof ((long long)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28071: $? = 0
# configure:28073: result: yes
# configure:28090: checking for ssize_t
# configure:28090: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28090: $? = 0
# configure:28090: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:134:22: error: expected expression
# if (sizeof ((ssize_t)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28101: $? = 0
# configure:28101: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:110:19: error: expected expression
# if (sizeof ((bool)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28375: $? = 0
# configure:28412: result: socklen_t
# configure:28419: checking size of curl_socklen_t
# configure:28465: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:105:21: error: unknown type name 'socklen_t'
# typedef socklen_t curl_socklen_t;
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:105:21: error: unknown type name 'socklen_t'
# typedef socklen_t curl_socklen_t;
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# In file included from conftest.c:119:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# conftest.c:129:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 warning and 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28597: $? = 0
# configure:28597: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:141:24: error: expected expression
# if (sizeof ((in_addr_t)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28713: $? = 0
# configure:28713: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:137:38: error: expected expression
# if (sizeof ((struct sockaddr_storage)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28750: $? = 0
# configure:28750: result: yes
# configure:28750: checking signal.h presence
# configure:28750: clang -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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:28760: $? = 0
# configure:28760: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:119:27: error: expected expression
# if (sizeof ((sig_atomic_t)))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:28797: $? = 0
# configure:28799: result: no
# configure:28822: checking return type of signal handlers
# configure:28839: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:117:8: error: indirection requires pointer operand ('void' invalid)
# return *(signal (0, 0)) (0) == 1;
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:28922: $? = 0
# configure:28924: result: yes
# configure:28939: checking types of args and return type for select
# configure:29018: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:29165: $? = 0
# configure:29167: result: yes
# configure:29182: checking types of args and return type for recv
# configure:29239: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, size_t, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, size_t, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, int, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, int, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, socklen_t, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, unsigned int, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, size_t, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, size_t, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, int, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, int, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, socklen_t, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, unsigned int, int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:36: error: expected identifier
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:154:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:158:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:149:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:29353: $? = 0
# configure:29355: result: yes
# configure:29370: checking types of args and return type for send
# configure:29426: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, size_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, size_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, socklen_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, socklen_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, unsigned int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, char *, unsigned int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, size_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, size_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, socklen_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, socklen_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, unsigned int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, void *, unsigned int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, size_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, size_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, socklen_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, unsigned int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, size_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, size_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, socklen_t, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, unsigned int, int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:36: error: expected identifier
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^
# conftest.c:157:23: error: conflicting types for 'send'
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:162:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:165:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:157:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:180:15: warning: implicit declaration of function 'closesocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != closesocket(0))
# ^
# 1 warning generated.
# /tmp/conftest-dd15a9.o:conftest.c:function main: error: undefined reference to 'closesocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:165:15: warning: implicit declaration of function 'CloseSocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != CloseSocket(0))
# ^
# 1 warning generated.
# /tmp/conftest-71c61d.o:conftest.c:function main: error: undefined reference to 'CloseSocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:30706: $? = 0
# configure:30706: result: yes
# configure:30725: checking if fdopen can be linked
# configure:30754: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:31054: $? = 0
# configure:31054: result: yes
# configure:31073: checking if freeifaddrs can be linked
# configure:31102: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:31227: $? = 0
# configure:31227: result: yes
# configure:31247: checking if fsetxattr can be linked
# configure:31276: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:31719: $? = 0
# configure:31721: 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:31905: $? = 0
# configure:31947: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:31947: $? = 0
# configure:31978: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:187:11: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:193:48: error: too few arguments to function call, expected 8, have 5
# if(0 != gethostbyaddr_r(0, 0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:140:1: note: 'gethostbyaddr_r' declared here
# int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:193:54: error: too few arguments to function call, expected 8, have 7
# if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:140:1: note: 'gethostbyaddr_r' declared here
# int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:196:42: error: too few arguments to function call, expected 6, have 3
# if(0 != gethostbyname_r(0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:137:1: note: 'gethostbyname_r' declared here
# int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:196:48: error: too few arguments to function call, expected 6, have 5
# if(0 != gethostbyname_r(0, 0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:137:1: note: 'gethostbyname_r' declared here
# int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:33026: $? = 0
# configure:33028: result: yes
# configure:33043: checking for gethostname arg 2 data type
# configure:33069: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:216:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, int);
# ^
# /sysroot/include/unistd.h:121:5: note: previous declaration is here
# int gethostname(char *, size_t);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:216:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, unsigned int);
# ^
# /sysroot/include/unistd.h:121:5: note: previous declaration is here
# int gethostname(char *, size_t);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:33223: $? = 0
# configure:33225: 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:201:45: error: too few arguments to function call, expected 6, have 4
# if(0 != getservbyport_r(0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:141:1: note: 'getservbyport_r' declared here
# int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:201:48: error: too few arguments to function call, expected 6, have 5
# if(0 != getservbyport_r(0, 0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:141:1: note: 'getservbyport_r' declared here
# int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:33708: $? = 0
# configure:33710: 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-0bf471.o:conftest.c:function main: error: undefined reference to 'inet_ntoa_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:34159: $? = 0
# configure:34161: 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:34406: $? = 0
# configure:34408: 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:34568: $? = 0
# configure:34568: result: yes
# configure:34587: checking if ioctl can be linked
# configure:34616: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:229:15: warning: implicit declaration of function 'ioctlsocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != ioctlsocket(0, 0, 0))
# ^
# 1 warning generated.
# /tmp/conftest-fe0a88.o:conftest.c:function main: error: undefined reference to 'ioctlsocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-a827ed.o:conftest.c:function main: error: undefined reference to 'IoctlSocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:35414: $? = 0
# configure:35416: 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# In file included from conftest.c:219:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# configure:35740: $? = 0
# configure:35742: result: yes
# configure:35757: checking if poll is prototyped
# In file included from conftest.c:218:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# configure:35768: result: yes
# configure:35784: checking if poll is compilable
# configure:35803: clang -c -Qunused-arguments -Os conftest.c >&5
# In file included from conftest.c:219:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# configure:35803: $? = 0
# configure:35805: 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:241:43: error: use of undeclared identifier 'SO_NONBLOCK'
# if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:231:6: warning: declaration of built-in function 'sigsetjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char sigsetjmp ();
# ^
# 1 warning generated.
# configure:36659: $? = 0
# configure:36661: result: yes
# configure:36714: checking if sigsetjmp is prototyped
# configure:36725: result: yes
# configure:36742: checking if sigsetjmp is compilable
# configure:36762: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:234:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:234:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# 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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-445fd2.o:conftest.c:function main: error: undefined reference to 'strcmpi'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:235:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup ();
# ^
# conftest.c:235:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# 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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:37661: $? = 0
# configure:37663: result: yes
# configure:37678: checking if strerror_r is glibc like
# configure:37701: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:237:19: error: conflicting types for 'strerror_r'
# char *strerror_r(int errnum, char *workbuf, size_t bufsize);
# ^
# /sysroot/include/string.h:64:5: note: previous declaration is here
# int strerror_r (int, char *, size_t);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:237:19: error: conflicting types for 'strerror_r'
# char *strerror_r(int errnum, char *workbuf, int bufsize);
# ^
# /sysroot/include/string.h:64:5: note: previous declaration is here
# int strerror_r (int, char *, size_t);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:237:19: error: conflicting types for 'strerror_r'
# char *strerror_r(int errnum, char *workbuf, unsigned int bufsize);
# ^
# /sysroot/include/string.h:64:5: note: previous declaration is here
# int strerror_r (int, char *, size_t);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:37804: $? = 0
# configure:37819: 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-096b23.o:conftest.c:function main: error: undefined reference to 'stricmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:239:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
# char strncasecmp ();
# ^
# conftest.c:239:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)'
# 1 warning generated.
# 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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-6b3870.o:conftest.c:function main: error: undefined reference to 'strncmpi'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-2502dd.o:conftest.c:function main: error: undefined reference to 'strnicmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:240:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
# char strstr ();
# ^
# conftest.c:240:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
# 1 warning generated.
# 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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -c -Qunused-arguments -Os 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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for geteuid
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getpass_r
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-76df7e.o:conftest.c:function main: error: undefined reference to 'getpass_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:242:9: warning: implicit declaration of function 'getpass_r' is invalid in C99 [-Wimplicit-function-declaration]
# getpass_r ();
# ^
# 1 warning generated.
# /tmp/conftest-68787c.o:conftest.c:function main: error: undefined reference to 'getpass_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getprotobyname
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getpwuid
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getpwuid_r
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for getrlimit
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for gettimeofday
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for if_nametoindex
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for inet_addr
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for perror
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for pipe
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for setlocale
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for setmode
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# /tmp/conftest-11efeb.o:conftest.c:function main: error: undefined reference to 'setmode'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# conftest.c:253:9: warning: implicit declaration of function 'setmode' is invalid in C99 [-Wimplicit-function-declaration]
# setmode ();
# ^
# 1 warning generated.
# /tmp/conftest-151d7a.o:conftest.c:function main: error: undefined reference to 'setmode'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for uname
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39216: $? = 0
# configure:39216: result: yes
# configure:39216: checking for utime
# configure:39216: clang -o conftest -Qunused-arguments -Os conftest.c >&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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:39314: $? = 0
# configure:39316: result: yes
# configure:39424: checking types of arguments for getnameinfo
# configure:39488: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:285:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: error: redefinition of parameter 'DWORD'
# conftest.c:285:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:293:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:294:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:296:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:296:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:292:31: note: 'salen' declared here
# socklen_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:285:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: error: redefinition of parameter 'DWORD'
# conftest.c:285:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:293:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:294:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:296:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:296:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:292:31: note: 'salen' declared here
# socklen_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:285:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: error: redefinition of parameter 'DWORD'
# conftest.c:285:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:293:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:294:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:296:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:296:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:292:28: note: 'salen' declared here
# size_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:285:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: error: redefinition of parameter 'DWORD'
# conftest.c:285:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:293:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:294:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:296:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:296:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:292:28: note: 'salen' declared here
# size_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:285:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: error: redefinition of parameter 'DWORD'
# conftest.c:285:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:293:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:294:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:296:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:296:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:292:25: note: 'salen' declared here
# int salen=0;
# ^
# 2 warnings and 5 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:285:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:286:52: error: redefinition of parameter 'DWORD'
# conftest.c:285:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:293:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:294:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:296:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:296:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:292:25: note: 'salen' declared here
# int salen=0;
# ^
# 2 warnings and 5 errors generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:284:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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: clang -c -Qunused-arguments -Os 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:39634: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:275:65: error: use of undeclared identifier 'NI_WITHSCOPEID'
# unsigned int dummy= NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID;
# ^
# 1 error generated.
# configure:39634: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "curl"
# | #define PACKAGE_TARNAME "curl"
# | #define PACKAGE_VERSION "-"
# | #define PACKAGE_STRING "curl -"
# | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
# | #define PACKAGE_URL ""
# | #define PACKAGE "curl"
# | #define VERSION "-"
# | #define OS "x86_64-unknown-linux-gnu"
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_LONG 8
# | #define SIZEOF_VOIDP 8
# | #define CURL_TYPEOF_CURL_OFF_T long
# | #define CURL_FORMAT_CURL_OFF_T "ld"
# | #define CURL_FORMAT_CURL_OFF_TU "lu"
# | #define CURL_FORMAT_OFF_T "%ld"
# | #define CURL_SIZEOF_CURL_OFF_T 8
# | #define CURL_SUFFIX_CURL_OFF_T L
# | #define CURL_SUFFIX_CURL_OFF_TU UL
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define CURL_DISABLE_LDAP 1
# | #define CURL_DISABLE_LDAPS 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# | #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_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. */
# |
# |
# | #include
# | #include
# | #include
# |
# | int main (void)
# | {
# |
# | unsigned int dummy= NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID;
# |
# | ;
# | return 0;
# | }
# |
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# configure:40049: $? = 0
# configure:40049: result: yes
# configure:40049: checking pthread.h presence
# configure:40049: clang -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: clang -o conftest -Qunused-arguments -Os conftest.c >&5
# configure:40056: $? = 0
# configure:40056: 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: no
# 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: clang -c -Qunused-arguments -Os conftest.c >&5
# conftest.c:276:13: warning: address of array 'ac_aggr.sun_path' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (ac_aggr.sun_path)
# ~~ ~~~~~~~~^~~~~~~~
# 1 warning generated.
# 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 eafb2096b816
#
# config.status:1471: creating Makefile
# config.status:1471: creating docs/Makefile
# config.status:1471: creating docs/examples/Makefile
# config.status:1471: creating docs/libcurl/Makefile
# config.status:1471: creating docs/libcurl/opts/Makefile
# config.status:1471: creating include/Makefile
# config.status:1471: creating include/curl/Makefile
# config.status:1471: creating src/Makefile
# config.status:1471: creating lib/Makefile
# config.status:1471: creating scripts/Makefile
# config.status:1471: creating lib/libcurl.vers
# config.status:1471: creating tests/Makefile
# config.status:1471: creating tests/certs/Makefile
# config.status:1471: creating tests/certs/scripts/Makefile
# config.status:1471: creating tests/data/Makefile
# config.status:1471: creating tests/server/Makefile
# config.status:1471: creating tests/libtest/Makefile
# config.status:1471: creating tests/unit/Makefile
# config.status:1471: creating packages/Makefile
# config.status:1471: creating packages/Win32/Makefile
# config.status:1471: creating packages/Win32/cygwin/Makefile
# config.status:1471: creating packages/Linux/Makefile
# config.status:1471: creating packages/Linux/RPM/Makefile
# config.status:1471: creating packages/Linux/RPM/curl.spec
# config.status:1471: creating packages/Linux/RPM/curl-ssl.spec
# config.status:1471: creating packages/Solaris/Makefile
# config.status:1471: creating packages/EPM/curl.list
# config.status:1471: creating packages/EPM/Makefile
# config.status:1471: creating packages/vms/Makefile
# config.status:1471: creating packages/AIX/Makefile
# config.status:1471: creating packages/AIX/RPM/Makefile
# config.status:1471: creating packages/AIX/RPM/curl.spec
# config.status:1471: creating curl-config
# config.status:1471: creating libcurl.pc
# config.status:1471: creating lib/curl_config.h
# config.status:1471: creating include/curl/curlbuild.h
# config.status:1700: executing depfiles commands
# config.status:1700: 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: clang
# SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} )
# SSH support: no (--with-libssh2)
# zlib support: no (--with-zlib)
# GSS-API support: no (--with-gssapi)
# TLS-SRP support: no (--enable-tls-srp)
# resolver: POSIX threaded
# IPv6 support: enabled
# Unix sockets support: enabled
# IDN support: no (--with-{libidn,winidn})
# 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 GOPHER HTTP IMAP POP3 RTSP SMTP 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=set
# ac_cv_env_CC_value=clang
# 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_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_if_nametoindex=yes
# ac_cv_func_inet_addr=yes
# ac_cv_func_perror=yes
# ac_cv_func_pipe=yes
# ac_cv_func_pthread_create=yes
# ac_cv_func_setlocale=yes
# ac_cv_func_setmode=no
# ac_cv_func_setrlimit=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=no
# ac_cv_header_gssapi_gssapi_h=no
# ac_cv_header_gssapi_gssapi_krb5_h=no
# ac_cv_header_gssapi_h=no
# 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=no
# 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_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=no
# 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=no
# ac_cv_header_termios_h=yes
# ac_cv_header_time=yes
# ac_cv_header_time_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_utime_h=yes
# ac_cv_header_zlib_h=no
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_axtls_ssl_version=no
# ac_cv_lib_crypto_HMAC_Init_ex=no
# ac_cv_lib_crypto_HMAC_Update=no
# ac_cv_lib_rtmp_RTMP_Init=no
# ac_cv_lib_ssh2_libssh2_channel_open_ex=no
# ac_cv_lib_z_inflateEnd=no
# 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=/sysroot/bin/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=/sysroot/bin/ar
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_STRIP=strip
# 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___GNUC__=4
# curl_cv_def___clang__=1
# 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__COMPILER_VERSION=no
# curl_cv_have_def__SGI_COMPILER_VERSION=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__=yes
# 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=cross
# 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=/sysroot/bin/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=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# 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='/sysroot/bin/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='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS='-Qunused-arguments -Os'
# 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'\'' '\''CC=clang'\'' '\''CFLAGS= '\'' '\''LDFLAGS='\'' '\''CPPFLAGS='\''"'
# CPP='clang -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=''
# 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=''
# HAVE_LIBZ_FALSE=''
# HAVE_LIBZ_TRUE='#'
# HAVE_OPENSSL_SRP=''
# IDN_ENABLED=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# IPV6_ENABLED='1'
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBCURL_LIBS=''
# LIBMETALINK_CPPFLAGS=''
# LIBMETALINK_LDFLAGS=''
# LIBMETALINK_LIBS=''
# LIBOBJS=''
# LIBS=''
# 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=''
# RANLIB='ranlib'
# REQUIRE_LIB_DEPS='no'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# SONAME_BUMP_FALSE=''
# SONAME_BUMP_TRUE='#'
# SSL_ENABLED=''
# SSL_LIBS=''
# STRIP='strip'
# SUPPORT_FEATURES='IPv6 UnixSockets AsynchDNS'
# SUPPORT_PROTOCOLS='DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP 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=''
# 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=''
# ZSH_FUNCTIONS_DIR='${prefix}/share/zsh/site-functions'
# ac_ct_AR=''
# ac_ct_CC=''
# 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_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
# #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_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 USE_UNIX_SOCKETS 1
# #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#
# configure: exit 0